From 228af0a40ee590650734eeff9a70be6319fb3446 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 10 Jan 2015 22:48:44 +0000 Subject: [PATCH] Makefile: add more to .PRECIOUS to defeat daft make --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 1cabe5b..937bcc9 100644 --- a/Makefile +++ b/Makefile @@ -71,6 +71,7 @@ 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 @@ -82,6 +83,7 @@ PANDEMICCOUNTER_DXFS=$(foreach l,$(PANDEMICCOUNTER_LETTERS), \ 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 $@ @@ -92,6 +94,7 @@ pandemic-counter-l%.eps: pandemic-counter-letters.fig %: %.pl ./$< >$@.tmp && mv -f $@.tmp $@ +.PRECIOUS: %.auto.scad %.auto.scad: $(PLAY)/toplevel-make Makefile $(PLAY)/toplevel-find @echo ' write $@' $< $@ >$@.tmp -- 2.30.2