chiark / gitweb /
screw-recess-test: make shaftlen a parameter (nfc)
[reprap-play.git] / Makefile
index 70905bcf29754cdaae5d097fa62c482cd25d41e2..937bcc9dc95ceeea0c2cb096f35c5e99c1af6afb 100644 (file)
--- 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
@@ -80,8 +81,9 @@ PANDEMICCOUNTER_LETTERS=30 31 32 33 34 35
 PANDEMICCOUNTER_DXFS=$(foreach l,$(PANDEMICCOUNTER_LETTERS), \
        pandemic-counter-l$l.dxf)
 
-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 $@
@@ -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