Fixed dependency misconfiguration in Makefile

This commit is contained in:
(Tim) Efthimis Kritikos 2023-02-09 17:02:21 +00:00
parent be31d74f74
commit f10d785f95

View File

@ -1,4 +1,5 @@
SOURCES=processor.v testbench.v memory.v SOURCES=processor.v testbench.v memory.v registers.v alu.v
INCLUDES=proc_state_def.v
VVP=processor.vvp VVP=processor.vvp
.PHONY: run .PHONY: run
@ -13,8 +14,8 @@ wave: ${VVP}
vvp ${VVP} -lxt2 vvp ${VVP} -lxt2
gtkwave test.lx2 gtkwave_savefile.gtkw gtkwave test.lx2 gtkwave_savefile.gtkw
${VVP} : ${SOURCES} ${VVP} : ${SOURCES} ${INCLUDES}
iverilog -g2012 $^ -o $@ iverilog -g2012 ${SOURCES} -o $@
.PHONY: clean .PHONY: clean
clean: clean: