X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=3c6f1e9a496ff99e06e6add6556a1bff6c77b700;hb=2db18078535449b18cc241c2d5e2e3847b4c1eef;hp=612f45dc569798b7a8d74b49dd52760c7064b603;hpb=855145e3ca1064562f1f9acfaa169c9b22fdce23;p=reprap-play.git diff --git a/Makefile b/Makefile index 612f45d..3c6f1e9 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,8 @@ AUTO_INCS = funcs.scad default: autoincs scads +$(shell set -xe; ./commitid.scad.pl >commitid.scad.tmp; cmp commitid.scad.tmp commitid.scad || mv -f commitid.scad.tmp commitid.scad ) + autoincs: $(AUTO_INCS) scads: $(addsuffix .auto.scad, $(AUTO_TOPLEVELS)) stls: $(addsuffix .auto.stl, $(AUTO_TOPLEVELS)) @@ -119,6 +121,15 @@ pandemic-quarantine-l%.eps: pandemic-quarantine-numbers.fig fig2dev -D +$(notdir $*) -L eps <$< >$@.tmp @mv -f $@.tmp $@ +FILAMENTSPOOL_NUMBERS=$(shell seq 300 100 1500) +filamentspool-number-n%.eps: filamentspool-number.eps.pl + ./$< $* >$@.tmp && mv -f $@.tmp $@ + +FILAMENTSPOOL_DXFS=$(foreach n,$(FILAMENTSPOOL_NUMBERS), \ + filamentspool-number-n$n.dxf) + +filamentspool-numbers filamentspool.stl: $(FILAMENTSPOOL_DXFS) + SCREWRECESSTEST_SIZES= 2 3 4 5 6 SCREWRECESSTEST_DXFS=$(foreach s,$(SCREWRECESSTEST_SIZES), \ screw-recess-test-number-s$s.dxf) @@ -138,6 +149,8 @@ question-question.eps: question-question.fig question-token.stl: question-question.dxf +lemon-stand.stl: lemon-stand.scad + .PRECIOUS: $(SCREWRECESSTEST_DXFS) $(SCREWRECESSTEST_DXFS) \ $(foreach s,$(SCREWRECESSTEST_SIZES), \ screw-recess-test-number-s$s.fig \