chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e6fd59a
)
Makefile: add more to .PRECIOUS to defeat daft make
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 10 Jan 2015 22:48:44 +0000
(22:48 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 10 Jan 2015 22:48:44 +0000
(22:48 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 1cabe5bb261f4948a000bd787f8fe8a942be0455..937bcc9dc95ceeea0c2cb096f35c5e99c1af6afb 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-71,6
+71,7
@@
KNIFEBLOCK_TEMPLATE_FILES=\
knifeblock-knives-templates knifeblock.stl: $(KNIFEBLOCK_TEMPLATE_FILES)
knifeblock-knives-templates knifeblock.stl: $(KNIFEBLOCK_TEMPLATE_FILES)
+.PRECIOUS: knifeblock-knives-t%.dxf
knifeblock-knives-t%.dxf: knifeblock-knives-filter knifeblock-knives-trace.fig
./$< $(notdir $*) <$(filter %.fig, $^) >$@.tmp.fig
fig2dev -D -30 -L eps <$@.tmp.fig >$@.tmp.eps
knifeblock-knives-t%.dxf: knifeblock-knives-filter knifeblock-knives-trace.fig
./$< $(notdir $*) <$(filter %.fig, $^) >$@.tmp.fig
fig2dev -D -30 -L eps <$@.tmp.fig >$@.tmp.eps
@@
-82,6
+83,7
@@
PANDEMICCOUNTER_DXFS=$(foreach l,$(PANDEMICCOUNTER_LETTERS), \
pandemic-counter-letters pandemic-counter%.stl: $(PANDEMICCOUNTER_DXFS)
pandemic-counter-letters pandemic-counter%.stl: $(PANDEMICCOUNTER_DXFS)
+.PRECIOUS: pandemic-counter-l%.eps
pandemic-counter-l%.eps: pandemic-counter-letters.fig
fig2dev -D +$(notdir $*) -L eps <$< >$@.tmp
@mv -f $@.tmp $@
pandemic-counter-l%.eps: pandemic-counter-letters.fig
fig2dev -D +$(notdir $*) -L eps <$< >$@.tmp
@mv -f $@.tmp $@
@@
-92,6
+94,7
@@
pandemic-counter-l%.eps: pandemic-counter-letters.fig
%: %.pl
./$< >$@.tmp && mv -f $@.tmp $@
%: %.pl
./$< >$@.tmp && mv -f $@.tmp $@
+.PRECIOUS: %.auto.scad
%.auto.scad: $(PLAY)/toplevel-make Makefile $(PLAY)/toplevel-find
@echo ' write $@'
$< $@ >$@.tmp
%.auto.scad: $(PLAY)/toplevel-make Makefile $(PLAY)/toplevel-find
@echo ' write $@'
$< $@ >$@.tmp