diff options
Diffstat (limited to 'mech/Makefile')
-rw-r--r-- | mech/Makefile | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/mech/Makefile b/mech/Makefile deleted file mode 100644 index 1f80d35..0000000 --- a/mech/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -PARTS := bottom top back front -BUILD_DIR := ./build -STL := $(PARTS:%=$(BUILD_DIR)/%.stl) -GCODE := $(PARTS:%=$(BUILD_DIR)/%.gcode) - -.PHONY: all -all: $(GCODE) - -$(BUILD_DIR)/%.gcode: $(BUILD_DIR)/%.stl - mkdir -p $(dir $@) - prusa-slicer --output $@ --export-gcode $< - -$(BUILD_DIR)/%.stl: %.scad - mkdir -p $(dir $@) - openscad --export-format binstl -o $@ $< - -.PHONY: clean -clean: - rm -rf $(BUILD_DIR) |