From 37f18ec1f6a0cae63bebffa002e8c672d63acaf2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 10 Aug 2012 16:29:39 +0100 Subject: [PATCH] Makefile: better handling of slic3r config --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 628cbf1..47cfc9f 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,13 @@ 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 $@ -- 2.30.2