X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=Makefile;h=2c8684410814a3ebcd8e0d3bd6b770f406657a68;hp=e2db3ec3ab1bb1f90ba6fcecdd9c44e9241dc956;hb=2acdcae963bf66d27a457f58343bc6b4fa6a8454;hpb=8c0e2d3ad25fcfe0d250757e23f3d08eb5f7d598 diff --git a/Makefile b/Makefile index e2db3ec..2c86844 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ PLAY ?= $(CWD) CONFIG=$(PLAY)/slic3r-config.ini -USING_AUTOS ?= filamentspool xeno-drivebay-bracket dungeonquest-cone anke-gps-bracket cable-hole-trunking-cover anglepoise-neck crossbar-computer-led-mount wardrobe-hook knifeblock +USING_AUTOS ?= filamentspool xeno-drivebay-bracket dungeonquest-cone anke-gps-bracket cable-hole-trunking-cover anglepoise-neck crossbar-computer-led-mount wardrobe-hook knifeblock pandemic-counter AUTO_TOPLEVELS := $(foreach m,$(USING_AUTOS),$(shell $(PLAY)/toplevel-find $m)) AUTO_INCS = funcs.scad @@ -72,6 +72,19 @@ knifeblock-knives-t%.dxf: knifeblock-knives-filter knifeblock-knives-trace.fig fig2dev -D -30 -L eps <$@.tmp.fig >$@.tmp.eps pstoedit -dt -f "dxf: -polyaslines -mm" $@.tmp.eps $@ +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-l%.eps: pandemic-counter-letters.fig + fig2dev -D +$(notdir $*) -L eps <$< >$@.tmp + @mv -f $@.tmp $@ + +%.dxf: %.eps + pstoedit -dt -f "dxf: -polyaslines -mm" $< $@ + %: %.pl ./$< >$@.tmp && mv -f $@.tmp $@