chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce o alias for capturing stdout to $@
[reprap-play.git]
/
diziet-utils
/
reprap-objects.make
diff --git
a/diziet-utils/reprap-objects.make
b/diziet-utils/reprap-objects.make
index f212f9740ba03ff8454596d33c6d53dddc03e801..d47a23cfc735040cc73b40466e0298f4f11d99fa 100644
(file)
--- 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 $@
$(MAKE) $(addsuffix .auto.stl, $(shell $(DUTILS)/toplevel-find $*))
i=mv -f $@.tmp $@
+o= >$@.tmp && $i
-include .*.d
-include .*.d
@@
-54,19
+55,19
@@
i=mv -f $@.tmp $@
AUTOBASE=$(shell echo $(1) | perl -pe 's/,\w+\.auto$$//')
%: %.cpp
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
funcs.scad: diziet-utils/funcs.scad.cpp
- cpp -nostdinc -P $<
>$@.tmp && $i
+ cpp -nostdinc -P $<
$o
%.gcode: manual-gcode-generator %.m-g
%.gcode: manual-gcode-generator %.m-g
- $(CWD)/$^
>$@.tmp && $i
+ $(CWD)/$^
$o
%.dxf: %.eps
pstoedit -dt -f "dxf: -polyaslines -mm" $< $@
%: %.pl
%.dxf: %.eps
pstoedit -dt -f "dxf: -polyaslines -mm" $< $@
%: %.pl
- ./$<
>$@.tmp && $i
+ ./$<
$o
%: %.m4
$(M4) -P >$@.tmp $< && $i
%: %.m4
$(M4) -P >$@.tmp $< && $i