From 58f12604629701572671898bbd9124b31c304a0c Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Wed, 10 Mar 2010 06:05:20 -0500 Subject: [PATCH] tests/Makefile: Build the testbench by default with the tests. --- Makefile | 6 +++++- tests/Makefile | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 766e6ea..2c4bf60 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ all: Vsystem Vsystem: obj_dir/Vsystem.mk testbench.cpp make -C obj_dir -f Vsystem.mk + ln -sf obj_dir/Vsystem Vsystem obj_dir/Vsystem.mk: $(VLOGS) mkdir -p obj_dir @@ -12,4 +13,7 @@ obj_dir/Vsystem.mk: $(VLOGS) auto: .DUMMY emacs -l ~/elisp/verilog-mode.el --batch system.v -f verilog-batch-auto -.DUMMY: \ No newline at end of file +tests: .DUMMY + make -C tests + +.DUMMY: diff --git a/tests/Makefile b/tests/Makefile index 36682af..dd41d75 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,4 +1,4 @@ -all: costas.hex +all: costas.hex testbench.hex %.o: %.c arm-elf-gcc $(CFLAGS) -c -o $@ $< -- 2.39.2