summaryrefslogtreecommitdiff
path: root/mech/mech.mk
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-12-24 12:39:34 +0100
committerxengineering <me@xengineering.eu>2024-12-26 12:06:36 +0100
commitdb966c966929dd3abc29ebab7ce47d638ba4a94f (patch)
treeaf2b844a2938de1698712642261bc2f8aa52732a /mech/mech.mk
parent03d41e8069623b5d627dfb298c471a16c380c91d (diff)
downloadsoundbox-db966c966929dd3abc29ebab7ce47d638ba4a94f.tar
soundbox-db966c966929dd3abc29ebab7ce47d638ba4a94f.tar.zst
soundbox-db966c966929dd3abc29ebab7ce47d638ba4a94f.zip
WIP: Move `mech` directory to `case`
TODO: There are outdated references (see grep -R mech .) The directory name should reflect what is inside, not the field of engineering it belongs to.
Diffstat (limited to 'mech/mech.mk')
-rw-r--r--mech/mech.mk17
1 files changed, 0 insertions, 17 deletions
diff --git a/mech/mech.mk b/mech/mech.mk
deleted file mode 100644
index ca39a7c..0000000
--- a/mech/mech.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-PRINTER := anycubic_i3_mega_s
-PRINTER_CONFIG := $(PRINTER:%=mech/prusa-slicer/%.ini)
-MECH_BUILD_DIR := $(BUILD_DIR)/mech
-PARTS := assembly production pcb_case/tolerance_tests
-STL := $(PARTS:%=$(MECH_BUILD_DIR)/%.stl)
-GCODE := $(PARTS:%=$(MECH_BUILD_DIR)/%.gcode)
-
-.PHONY: mech
-mech: $(GCODE) $(STL)
-
-$(BUILD_DIR)/%.gcode: $(BUILD_DIR)/%.stl
- mkdir -p $(dir $@)
- prusa-slicer --load $(PRINTER_CONFIG) --output $@ --export-gcode $<
-
-$(BUILD_DIR)/%.stl: %.scad
- mkdir -p $(dir $@)
- openscad --hardwarnings --export-format binstl -o $@ $<