From fb87772bb3ecb88c61a6914d1b60fb0f7502bd6b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 21 Aug 2012 21:37:35 +0000 Subject: [PATCH] 10254 Makefile --- th-10254/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 th-10254/Makefile diff --git a/th-10254/Makefile b/th-10254/Makefile new file mode 100644 index 0000000..412a413 --- /dev/null +++ b/th-10254/Makefile @@ -0,0 +1,19 @@ + +OBJECTS= MendelSpindle + +all: stls scads + +stls: $(foreach f,$(OBJECTS),$f.stl) + +scads: $(foreach f,$(OBJECTS),$f.scad) + +%.stl: %.scad FilamentSpool.scad Libs.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