mirror of
https://gitlab.com/brendanhaines/cpu.git
synced 2024-12-26 11:06:50 -07:00
19 lines
313 B
Makefile
19 lines
313 B
Makefile
all: verify
|
|
|
|
BENCH ?= $(sort $(dir $(wildcard test_*/)))
|
|
|
|
# override bench to disable test_c
|
|
BENCH = test_basic
|
|
|
|
verify:
|
|
$(foreach dir, $(BENCH), make -C $(dir) verify;)
|
|
|
|
clean:
|
|
$(foreach dir, $(BENCH), make -C $(dir) clean;)
|
|
|
|
help:
|
|
$(info BENCH options: [${BENCH}])
|
|
|
|
.SECONDARY:
|
|
.PHONY: all clean verify help
|