From: Joshua Wise Date: Wed, 10 Mar 2010 11:05:20 +0000 (-0500) Subject: tests/Makefile: Build the testbench by default with the tests. X-Git-Url: http://git.joshuawise.com/firearm.git/commitdiff_plain/58f12604629701572671898bbd9124b31c304a0c tests/Makefile: Build the testbench by default with the tests. --- 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 $@ $<