2017-07-27 04:42:05 -05:00
|
|
|
|
2017-07-28 08:33:30 -05:00
|
|
|
TESTS = $(sort $(basename $(wildcard *.sv)) $(basename $(wildcard *.vhd)))
|
2017-07-27 04:42:05 -05:00
|
|
|
|
|
|
|
all: $(addsuffix .ok,$(TESTS))
|
|
|
|
|
2017-07-28 08:33:30 -05:00
|
|
|
%.ok:
|
|
|
|
bash runtest.sh $@
|
2017-07-27 04:42:05 -05:00
|
|
|
|
|
|
|
clean:
|
2017-07-28 08:33:30 -05:00
|
|
|
rm -rf $(addsuffix .ok,$(TESTS)) $(addsuffix .sby,$(TESTS)) $(TESTS)
|
2017-07-27 04:42:05 -05:00
|
|
|
rm -rf $(addsuffix _pass.sby,$(TESTS)) $(addsuffix _pass,$(TESTS))
|
|
|
|
rm -rf $(addsuffix _fail.sby,$(TESTS)) $(addsuffix _fail,$(TESTS))
|
2022-05-09 08:04:01 -05:00
|
|
|
rm -rf $(addsuffix .fst,$(TESTS))
|
2017-07-27 04:42:05 -05:00
|
|
|
|