From: Ian Jackson Date: Fri, 10 Aug 2012 23:41:22 +0000 (+0100) Subject: 8317 Makefile: add gcode conversion X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?p=dl-things.git;a=commitdiff_plain;h=2b56fc217163c4411fab3725f1c229fe215a9217 8317 Makefile: add gcode conversion --- diff --git a/th-8317/Makefile b/th-8317/Makefile index 1c87474..88acdbd 100644 --- a/th-8317/Makefile +++ b/th-8317/Makefile @@ -15,3 +15,11 @@ iwj-%.scad: %.stl: %.scad FilamentSpool.scad openscad -o $@ $< + +HRR=/home/reprap +SLIC3R=$(HRR)/Slic3r/bin/slic3r +CONFIG=$(HRR)/play/slic3r-config.ini + +%.gcode: $(CONFIG) %.stl + $(SLIC3R) --load $^ --output $@ +