X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=Makefile;h=47cfc9f2c040e7cfbcbc0f1cb67f7ca2ef896712;hp=628cbf1b5daf70fae90a1dfa614e652726c259a6;hb=37f18ec1f6a0cae63bebffa002e8c672d63acaf2;hpb=3e676ee0ef2d829abd00b3d4575ef27f140eb6dc diff --git a/Makefile b/Makefile index 628cbf1..47cfc9f 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,13 @@ HRR=/home/reprap SLIC3R=$(HRR)/Slic3r/bin/slic3r +CONFIG=slic3r-config.ini + default: %.stl: %.scad openscad -o $@ $< -%.gcode: %.stl - $(SLIC3R) --load slic3r-config.ini $< --output $@ +%.gcode: $(CONFIG) %.stl + $(SLIC3R) --load $^ --output $@