X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/6d8250a2274c30477c543fa7279b9f3052afcca2..58f12604629701572671898bbd9124b31c304a0c:/Makefile 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: