summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-01-02 22:51:35 +0100
committerxengineering <me@xengineering.eu>2024-01-03 12:03:43 +0100
commita72e170df8344ac66c799156a744953cb762e08b (patch)
tree0a6d406527c8556da7e4c52358ef33c28035beca /Makefile
parent5273564397c2f4ba82e6d60d35a34e1c5666eb0f (diff)
downloadsoundbox-a72e170df8344ac66c799156a744953cb762e08b.tar
soundbox-a72e170df8344ac66c799156a744953cb762e08b.tar.zst
soundbox-a72e170df8344ac66c799156a744953cb762e08b.zip
Move 'clean' target to root-level Makefile
This target removes the build directory and is thus repository-global.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a94ae02..9767db2 100644
--- a/Makefile
+++ b/Makefile
@@ -2,4 +2,8 @@ BUILD_DIR := ./build
all: mech
+.PHONY: clean
+clean:
+ rm -rf $(BUILD_DIR)
+
include mech/mech.mk