summaryrefslogtreecommitdiff
path: root/mech
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-01-03 15:47:16 +0100
committerxengineering <me@xengineering.eu>2024-01-03 15:49:07 +0100
commit4815a8bc45db240fcb6fc518235112d328abb9d1 (patch)
treea57e796e365ca3f11f140b0eae127cc0cea8dbc4 /mech
parent207473d754a42f8969ce23ee20da0aeec54b4768 (diff)
downloadsoundbox-4815a8bc45db240fcb6fc518235112d328abb9d1.tar
soundbox-4815a8bc45db240fcb6fc518235112d328abb9d1.tar.zst
soundbox-4815a8bc45db240fcb6fc518235112d328abb9d1.zip
mech: Leave STL files inside build folder
Most users will not own the default printer and thus cannot work with the built gcode files with the default slicer configuration. It might be easier for those users to manually slice the STL instead of modifying the soundbox source code.
Diffstat (limited to 'mech')
-rw-r--r--mech/mech.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mech/mech.mk b/mech/mech.mk
index a537ca3..65fecc9 100644
--- a/mech/mech.mk
+++ b/mech/mech.mk
@@ -6,7 +6,7 @@ STL := $(PARTS:%=$(MECH_BUILD_DIR)/%.stl)
GCODE := $(PARTS:%=$(MECH_BUILD_DIR)/%.gcode)
.PHONY: mech
-mech: $(GCODE)
+mech: $(GCODE) $(STL)
$(BUILD_DIR)/%.gcode: $(BUILD_DIR)/%.stl
mkdir -p $(dir $@)