From 7ec03f00d5db11dfa4e39f758da29fe275f79a6e Mon Sep 17 00:00:00 2001 From: jannfis Date: Thu, 29 Feb 2024 12:37:26 +0000 Subject: [PATCH] build: New clean-all target in Makefile Signed-off-by: jannfis --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9be91ef..83637a6 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,12 @@ mod-vendor: .PHONY: clean clean: - rm -rf dist/ vendor/ build/ + rm -rf dist/ vendor/ + +# clean-all also removes any build-time dependencies installed into the tree +.PHONY: clean-all +clean-all: clean + rm -rf build ./build/bin: mkdir -p build/bin