VERILATOR ?= verilator VERILOG_SOURCES = \ board/system.sv \ board/parts/hart.sv \ board/parts/pmmu.sv \ board/parts/rom.sv build/cpu: ${VERILOG_SOURCES} mkdir -p build/verilog ${VERILATOR} --build --binary board/system.sv -Mdir build/verilog +incdir+board cp -f build/verilog/Vsystem build/cpu