synth/wave/makefile
2021-03-08 18:58:52 -08:00

18 lines
262 B
Makefile

all: sim
sim: pdmout_test.ghw square_test.ghw
sim_sources = pdmout_test.vhdl square_test.vhdl
sources = pdmout.vhdl square.vhdl
%.ghw: work-obj93.cf
ghdl -r $* --wave=$@
work-obj93.cf: $(sim_sources) $(sources)
ghdl -a $^
PHONY: sim
.PRECIOUS: test.ghw