tests/Makefile: Build the testbench by default with the tests.
authorJoshua Wise <joshua@escape.joshuawise.com>
Wed, 10 Mar 2010 11:05:20 +0000 (06:05 -0500)
committerJoshua Wise <joshua@escape.joshuawise.com>
Wed, 10 Mar 2010 11:05:20 +0000 (06:05 -0500)
Makefile
tests/Makefile

index 766e6ea..2c4bf60 100644 (file)
--- 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:
index 36682af..dd41d75 100644 (file)
@@ -1,4 +1,4 @@
-all: costas.hex
+all: costas.hex testbench.hex
 
 %.o: %.c
        arm-elf-gcc $(CFLAGS) -c -o $@ $<
This page took 0.019969 seconds and 4 git commands to generate.