Improve make clean

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
pull/179/head
Anton Blanchard 5 years ago committed by Anton Blanchard
parent 3e8a6a8fc2
commit 8c028f26f1

@ -81,7 +81,8 @@ prog: microwatt.svf
$(OPENOCD) -f $(OPENOCD_JTAG_CONFIG) -f $(OPENOCD_DEVICE_CONFIG) -c "transport select jtag; init; svf $<; exit"

clean:
@rm -f work-obj08.cf *.bit *.json *.svf *.config
@rm -f work-obj08.cf *.bit *.json *.svf *.config microwatt.v microwatt-verilator
@rm -rf obj_dir/

.PHONY: clean prog
.PRECIOUS: microwatt.json microwatt_out.config microwatt.bit

Loading…
Cancel
Save