From: Ian Jackson Date: Fri, 19 Oct 2012 18:32:09 +0000 (+0100) Subject: Makefile do dependency for %.slic3r X-Git-Tag: filamentspool-v2-release~697 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=b84f1aeb2a8d9638d246b5e1fd797e0b1f24dbd1 Makefile do dependency for %.slic3r --- diff --git a/Makefile b/Makefile index 2c677dc..cf45391 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,12 @@ default: @rm .$@.d.tmp mv -f $*.tmp.stl $@ -%.gcode: $(CONFIG) %.stl - $(SLIC3R) --load $^ --ignore-nonexistent-config --load $*.slic3r --output $@.tmp +%.slic3r: + +%.gcode: %.stl %.slic3r $(CONFIG) + $(SLIC3R) --load $(CONFIG) \ + --ignore-nonexistent-config --load $*.slic3r \ + --output $@.tmp $< @mv -f $@.tmp $@ #%.gcode: %.stl