]> Joshua Wise's Git repositories - firearm.git/commitdiff
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 766e6ea09d4008c530fe1bd5ced7f49bcb36ecf4..2c4bf600c9bd232e25a9ef63aba4c62712652bd7 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 36682afe064ab529f344f1b45965ada141194459..dd41d75ecf27955a7d1cee87cbd9eb925e604b1a 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.026289 seconds and 4 git commands to generate.