synth/wave/makefile

18 lines
262 B
Makefile
Raw Normal View History

2021-03-01 06:11:17 +00:00
all: sim
2021-03-09 02:58:52 +00:00
sim: pdmout_test.ghw square_test.ghw
2021-03-01 06:11:17 +00:00
2021-03-09 02:58:52 +00:00
sim_sources = pdmout_test.vhdl square_test.vhdl
sources = pdmout.vhdl square.vhdl
2021-03-01 06:11:17 +00:00
2021-03-09 02:58:52 +00:00
%.ghw: work-obj93.cf
ghdl -r $* --wave=$@
2021-03-01 06:11:17 +00:00
work-obj93.cf: $(sim_sources) $(sources)
ghdl -a $^
PHONY: sim
.PRECIOUS: test.ghw