X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=47cfc9f2c040e7cfbcbc0f1cb67f7ca2ef896712;hb=4c3e2f9a6145c5317a08729800b232968dd05c99;hp=628cbf1b5daf70fae90a1dfa614e652726c259a6;hpb=b4c42c12319e5304d22ab18e0eef20fe1ec6c008;p=reprap-play.git 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 $@