From 3bbaa6ea42c275b8b0425ee85f65130df2834850 Mon Sep 17 00:00:00 2001 From: Zihao Yu Date: Wed, 26 May 2021 00:33:31 +0800 Subject: [PATCH] only clean generated files with `make clean` * this is the standard behavior --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 94bc572..fa6b95c 100644 --- a/Makefile +++ b/Makefile @@ -16,16 +16,13 @@ compile: bsp: mill -i mill.bsp.BSP/install -clean: - git clean -fd - -cleanAll: - git clean -fdx - reformat: mill -i __.reformat checkformat: mill -i __.checkFormat +clean: + -rm -rf $(BUILD_DIR) + .PHONY: test verilog help compile bsp reformat checkformat clean