From 8c028f26f1e7092ef34d1c7806328a4e2fa5fba7 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Tue, 19 May 2020 15:32:04 +1000 Subject: [PATCH] Improve make clean Signed-off-by: Anton Blanchard --- Makefile.synth | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.synth b/Makefile.synth index 19a96b8..f7bdc5b 100644 --- a/Makefile.synth +++ b/Makefile.synth @@ -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