aboutsummaryrefslogtreecommitdiff
path: root/test/ppu-stm-integration-demo/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/ppu-stm-integration-demo/makefile')
-rw-r--r--test/ppu-stm-integration-demo/makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/ppu-stm-integration-demo/makefile b/test/ppu-stm-integration-demo/makefile
index 2f4b6f4..853dd31 100644
--- a/test/ppu-stm-integration-demo/makefile
+++ b/test/ppu-stm-integration-demo/makefile
@@ -1,14 +1,17 @@
.PHONY: all clean
-TARGETS := test-background-color.h test-image.h test-image.tb.vhd
+TARGETS := test-background-color.h test-image.h test-image-spi.tb.vhd test-image-ppu.tb.vhd test-background-color-spi.tb.vhd
all: $(TARGETS)
%.h: %.txt ./data2test.awk
tr -d ':' < $< | ./data2test.awk > $@
-test-%.tb.vhd: test-%.txt ./data2vhdltb.awk
- tr -d ':' < $< | ./data2vhdltb.awk > $@
+test-%-ppu.tb.vhd: test-%.txt ./data2pputb.awk
+ tr -d ':' < $< | ./data2pputb.awk > $@
+
+test-%-spi.tb.vhd: test-%.txt ./data2spitb.awk
+ (tr -d ':' < $<; echo "ffff ffff") | ./data2spitb.awk > $@
clean:
$(RM) $(TARGETS)