From a72e170df8344ac66c799156a744953cb762e08b Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 2 Jan 2024 22:51:35 +0100 Subject: Move 'clean' target to root-level Makefile This target removes the build directory and is thus repository-global. --- mech/mech.mk | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mech') diff --git a/mech/mech.mk b/mech/mech.mk index 4359796..a537ca3 100644 --- a/mech/mech.mk +++ b/mech/mech.mk @@ -15,7 +15,3 @@ $(BUILD_DIR)/%.gcode: $(BUILD_DIR)/%.stl $(BUILD_DIR)/%.stl: %.scad mkdir -p $(dir $@) openscad --hardwarnings --export-format binstl -o $@ $< - -.PHONY: clean -clean: - rm -rf $(BUILD_DIR) -- cgit v1.2.3-70-g09d2