X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=Makefile;h=612f45dc569798b7a8d74b49dd52760c7064b603;hp=06c09d4c2d8c129befdb0619282d4b8a93a0eb7d;hb=8e0e7a7e91cf9817aeb004ae09cf3b459a46c500;hpb=c34996ff55f1d0b3559bf4a9a7d7fd4e3e78f330 diff --git a/Makefile b/Makefile index 06c09d4..612f45d 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,21 @@ +# reprap-objects Makefile +# +# Build scripts for various 3D designs +# Copyright 2012-2016 Ian Jackson +# +# This work is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This work is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this work. If not, see . + HRR=/home/reprap SLIC3R=$(HRR)/Slic3r/bin/slic3r @@ -8,7 +26,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 pandemic-counter +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 pattress-boxes-3-cover AUTO_TOPLEVELS := $(foreach m,$(USING_AUTOS),$(shell $(PLAY)/toplevel-find $m)) AUTO_INCS = funcs.scad @@ -81,19 +99,20 @@ 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: $(PANDEMICCOUNTER_DXFS) +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 $@ -PANDEMICQUARANTINES_NUMBERS=35 +PANDEMICQUARANTINES_NUMBERS=1 2 PANDEMICQUARANTINES_DXFS=$(foreach l,$(PANDEMICQUARANTINES_NUMBERS), \ pandemic-quarantine-l$l.dxf) -pandemic-quarantine-numbers pandemic-quarantine%.stl: \ - $(PANDEMICQUARANTINES_DXFS) +pandemic-quarantine-numbers: $(PANDEMICQUARANTINES_DXFS) +pandemic-quarantine%.stl: $(PANDEMICQUARANTINES_DXFS) .PRECIOUS: pandemic-quarantine-l%.eps pandemic-quarantine-l%.eps: pandemic-quarantine-numbers.fig @@ -113,6 +132,12 @@ screw-recess-test-number-s%.eps: screw-recess-test-number-s%.fig screw-recess-test-numbers screw-recess-test.stl: $(SCREWRECESSTEST_DXFS) +question-question.eps: question-question.fig + fig2dev -L eps <$< >$@.tmp + @mv -f $@.tmp $@ + +question-token.stl: question-question.dxf + .PRECIOUS: $(SCREWRECESSTEST_DXFS) $(SCREWRECESSTEST_DXFS) \ $(foreach s,$(SCREWRECESSTEST_SIZES), \ screw-recess-test-number-s$s.fig \