summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2016-07-15 19:00:54 (UTC)
committer Michael Krelin <hacker@klever.net>2016-07-15 19:00:54 (UTC)
commitdb51c14562252dff8013d1d7a4fdbed36b69ef36 (patch) (unidiff)
tree0b84a18d90a05eff922ea565ec31049601900afb
parent41c8af93ec2bf962e3a18b8fe7602d2cf676189d (diff)
downloadcarriagery-db51c14562252dff8013d1d7a4fdbed36b69ef36.zip
carriagery-db51c14562252dff8013d1d7a4fdbed36b69ef36.tar.gz
carriagery-db51c14562252dff8013d1d7a4fdbed36b69ef36.tar.bz2
Makefile: render carriage
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d04b0c3..2d2a5de 100644
--- a/Makefile
+++ b/Makefile
@@ -2,10 +2,10 @@
2 2
3OPENSCAD_APP?=/Applications/OpenSCAD.app 3OPENSCAD_APP?=/Applications/OpenSCAD.app
4OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD 4OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD
5OPENSCAD_FLAGS?=-D draft=false 5OPENSCAD_FLAGS?=-D draft=false -D print=true
6 6
7RENDERVIEWS=holder base 7RENDERVIEWS=holder base
8STLS=$(addsuffix .stl,$(addprefix adapter-,${RENDERVIEWS})) 8STLS=$(addsuffix .stl,$(addprefix adapter-,${RENDERVIEWS}) x-carriage)
9 9
10default: all 10default: all
11 11
@@ -14,7 +14,7 @@ clean:
14 rm -f ${STLS} 14 rm -f ${STLS}
15 15
16adapter-%.stl: x-carriage-adapter.scad 16adapter-%.stl: x-carriage-adapter.scad
17 ${OPENSCAD_BIN} ${OPENSCAD_FLAGS} -D draft=false -D 'view="$*"' -o "$@" "$<" 17 ${OPENSCAD_BIN} ${OPENSCAD_FLAGS} -D 'view="$*"' -o "$@" "$<"
18 18
19 19
20%.stl: %.scad 20%.stl: %.scad