SOURCES=processor.v testbench.v VVP=processor.vvp .PHONY: run run: ${VVP} vvp ${VVP} .PHONY: build build: ${VVP} .PHONY: wave wave: ${VVP} vvp ${VVP} -lxt2 gtkwave test.lx2 gtkwave_savefile.gtkw ${VVP} : ${SOURCES} iverilog -g2012 $^ -o $@ .PHONY: clean clean: rm -f ${VVP} test.lx2