X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=881588b98529a9c85a47e44470ef609df2143776;hb=ea61b2ecde2e46e0891b5433846c2a974db217fa;hp=628cbf1b5daf70fae90a1dfa614e652726c259a6;hpb=b4c42c12319e5304d22ab18e0eef20fe1ec6c008;p=reprap-play.git diff --git a/Makefile b/Makefile index 628cbf1..881588b 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,15 @@ 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 $@ +%.gcode: manual-gcode-generator %.m-g + ./$^ >$@.new && mv -f $@.new $@