diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | mech/mech.mk | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -2,4 +2,8 @@ BUILD_DIR := ./build all: mech +.PHONY: clean +clean: + rm -rf $(BUILD_DIR) + include mech/mech.mk 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) |