diff options
| -rw-r--r-- | mech/mech.mk | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/mech/mech.mk b/mech/mech.mk index 13b73d7..f541cf9 100644 --- a/mech/mech.mk +++ b/mech/mech.mk @@ -1,3 +1,5 @@ +PRINTER := anycubic_i3_mega_s +PRINTER_CONFIG := $(PRINTER:%=mech/prusa-slicer/%.ini)  MECH_BUILD_DIR := $(BUILD_DIR)/mech  PARTS := bottom top back front pcb_case/nut_tolerance_test  STL := $(PARTS:%=$(MECH_BUILD_DIR)/%.stl) @@ -8,7 +10,7 @@ mech: $(GCODE)  $(BUILD_DIR)/%.gcode: $(BUILD_DIR)/%.stl  	mkdir -p $(dir $@) -	prusa-slicer --output $@ --export-gcode $< +	prusa-slicer --load $(PRINTER_CONFIG) --output $@ --export-gcode $<  $(BUILD_DIR)/%.stl: %.scad  	mkdir -p $(dir $@) | 
