wave: Makefile

This commit is contained in:
2025-10-30 07:51:53 -04:00
parent b8d828c438
commit 23a4a69670
2 changed files with 17 additions and 17 deletions

17
wave/Makefile Normal file
View File

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

View File

@@ -1,17 +0,0 @@
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