X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/6d8250a2274c30477c543fa7279b9f3052afcca2..e3183a087362f1f2aef0af0cdc402de11a68cf50:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index daa9291..2c4bf60 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,16 @@ 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 verilator --cc system.v testbench.cpp --exe -.DUMMY: \ No newline at end of file +auto: .DUMMY + emacs -l ~/elisp/verilog-mode.el --batch system.v -f verilog-batch-auto + +tests: .DUMMY + make -C tests + +.DUMMY: