From 2b56fc217163c4411fab3725f1c229fe215a9217 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 11 Aug 2012 00:41:22 +0100 Subject: [PATCH] 8317 Makefile: add gcode conversion --- th-8317/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) 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 $@ + -- 2.30.2