chiark / gitweb /
commitid-layering-test: use Commitid_BestCount_M
[reprap-play.git] / Makefile
index a3c57c5a6389954a610d2a53b3e9c4f22df7b201..9e879aba64a359ed74896b1d24093095454f52a7 100644 (file)
--- 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 <http://www.gnu.org/licenses/>.
+
 
 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 \