chiark / gitweb /
8317 Makefile: add gcode conversion
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 10 Aug 2012 23:41:22 +0000 (00:41 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 14 Aug 2012 00:24:54 +0000 (01:24 +0100)
th-8317/Makefile

index 1c87474b0e960240eec599efce004b89d6710b9b..88acdbd7c3be62fe70682d2130daedc196b33439 100644 (file)
@@ -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 $@
+