aboutsummaryrefslogtreecommitdiff
path: root/toolruns/Makefile
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2018-04-03 11:59:25 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2018-04-03 11:59:25 +0200
commit00f002c478e718d8bc6a71d148816820a8e65fc7 (patch)
treef3d12d970150ec8cfd69697a74c8d5016917432e /toolruns/Makefile
parent285a7830994783cd04307e4274749a84123a26b5 (diff)
Non functional cleanups: (1) Changed name of round counter to show what is used for. (2) Fixed timescale and empty parentheses of tasks in testbenches. (3) Fixed targets in Makefile to build if needed.
Diffstat (limited to 'toolruns/Makefile')
-rwxr-xr-xtoolruns/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/toolruns/Makefile b/toolruns/Makefile
index f58bb38..39e272d 100755
--- a/toolruns/Makefile
+++ b/toolruns/Makefile
@@ -50,14 +50,14 @@ LINT=verilator
LINT_FLAGS = +1364-2001ext+ --lint-only -Wall -Wno-fatal -Wno-DECLFILENAME
-all: top core
+all: top.sim core.sim
-top: $(TOP_TB_SRC) $(TOP_SRC) $(CORE_SRC)
+top.sim: $(TOP_TB_SRC) $(TOP_SRC) $(CORE_SRC)
$(CC) $(CC_FLAGS) -o top.sim $(TOP_TB_SRC) $(TOP_SRC) $(CORE_SRC)
-core: $(CORE_TB_SRC) $(CORE_SRC)
+core.sim: $(CORE_TB_SRC) $(CORE_SRC)
$(CC) $(CC_FLAGS) -o core.sim $(CORE_SRC) $(CORE_TB_SRC)
@@ -76,7 +76,6 @@ lint: $(TOP_SRC) $(CORE_SRC)
clean:
rm -f top.sim
rm -f core.sim
- rm -f wmem.sim
help: