X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=Makefile;h=9e879aba64a359ed74896b1d24093095454f52a7;hp=a3c57c5a6389954a610d2a53b3e9c4f22df7b201;hb=6736274070018db9e64ffb5f256ce11a6f12fa14;hpb=26bd218da9f99b492b95aa7f56cc933659c33076 diff --git a/Makefile b/Makefile index a3c57c5..9e879ab 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 @@ -15,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)) @@ -120,6 +140,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 \