Sfoglia il codice sorgente

Makefile: add clean PHONY target

Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
Shengqi Chen 8 mesi fa
parent
commit
3562907af9
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      Makefile

+ 4 - 1
Makefile

@@ -22,4 +22,7 @@ test:
 build-test-worker:
 	go test -c -covermode=count ./worker
 
-.PHONY: all test $(BUILDBIN) build-test-worker
+clean:
+	rm -rf build-$(ARCH)
+
+.PHONY: all test $(BUILDBIN) build-test-worker clean