aboutsummaryrefslogtreecommitdiff
path: root/test/ppu-stm-integration-demo/makefile
blob: 853dd319d1972e57c2fb6e6e15926e0a6d0be490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.PHONY: all clean

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-%-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)