X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=diziet-utils%2Freprap-objects.make;h=d47a23cfc735040cc73b40466e0298f4f11d99fa;hb=1f95cc3aea4e624e6bae1ff697a88dd0509d52eb;hp=f212f9740ba03ff8454596d33c6d53dddc03e801;hpb=96414d1b53ab2d51f89405980d4d7b32524f3983;p=reprap-play.git diff --git a/diziet-utils/reprap-objects.make b/diziet-utils/reprap-objects.make index f212f97..d47a23c 100644 --- a/diziet-utils/reprap-objects.make +++ b/diziet-utils/reprap-objects.make @@ -41,6 +41,7 @@ stls: $(addsuffix .auto.stl, $(AUTO_TOPLEVELS)) $(MAKE) $(addsuffix .auto.stl, $(shell $(DUTILS)/toplevel-find $*)) i=mv -f $@.tmp $@ +o= >$@.tmp && $i -include .*.d @@ -54,19 +55,19 @@ i=mv -f $@.tmp $@ AUTOBASE=$(shell echo $(1) | perl -pe 's/,\w+\.auto$$//') %: %.cpp - cpp -nostdinc -P <$< >$@.tmp && $i + cpp -nostdinc -P <$< $o funcs.scad: diziet-utils/funcs.scad.cpp - cpp -nostdinc -P $< >$@.tmp && $i + cpp -nostdinc -P $< $o %.gcode: manual-gcode-generator %.m-g - $(CWD)/$^ >$@.tmp && $i + $(CWD)/$^ $o %.dxf: %.eps pstoedit -dt -f "dxf: -polyaslines -mm" $< $@ %: %.pl - ./$< >$@.tmp && $i + ./$< $o %: %.m4 $(M4) -P >$@.tmp $< && $i