From: Ian Jackson Date: Fri, 10 Aug 2012 15:29:39 +0000 (+0100) Subject: Makefile: better handling of slic3r config X-Git-Tag: firmware-tested-2012-08-10~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=37f18ec1f6a0cae63bebffa002e8c672d63acaf2;p=reprap-play.git Makefile: better handling of slic3r config --- 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 $@