cpu/tests/Makefile

19 lines
313 B
Makefile
Raw Permalink Normal View History

2021-08-11 00:18:46 -06:00
all: verify
2021-09-09 00:20:20 -06:00
BENCH ?= $(sort $(dir $(wildcard test_*/)))
2021-08-11 00:18:46 -06:00
2021-09-09 00:20:20 -06:00
# override bench to disable test_c
BENCH = test_basic
2021-08-11 00:18:46 -06:00
verify:
2021-09-09 00:20:20 -06:00
$(foreach dir, $(BENCH), make -C $(dir) verify;)
2021-08-11 00:18:46 -06:00
clean:
2021-09-09 00:20:20 -06:00
$(foreach dir, $(BENCH), make -C $(dir) clean;)
help:
$(info BENCH options: [${BENCH}])
2021-08-11 00:18:46 -06:00
.SECONDARY:
2021-09-09 00:20:20 -06:00
.PHONY: all clean verify help