From f10d785f956a5c90e5f9087e76169c77dd4a3289 Mon Sep 17 00:00:00 2001 From: "(Tim) Efthimis Kritikos" Date: Thu, 9 Feb 2023 17:02:21 +0000 Subject: [PATCH] Fixed dependency misconfiguration in Makefile --- cpu/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cpu/Makefile b/cpu/Makefile index 05363c0..63e786f 100644 --- a/cpu/Makefile +++ b/cpu/Makefile @@ -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 .PHONY: run @@ -13,8 +14,8 @@ wave: ${VVP} vvp ${VVP} -lxt2 gtkwave test.lx2 gtkwave_savefile.gtkw -${VVP} : ${SOURCES} - iverilog -g2012 $^ -o $@ +${VVP} : ${SOURCES} ${INCLUDES} + iverilog -g2012 ${SOURCES} -o $@ .PHONY: clean clean: