summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore 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
@@ -1,21 +1,21 @@
1-include Makefile.local 1-include Makefile.local
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
12all: ${STLS} 12all: ${STLS}
13clean: 13clean:
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
21 ${OPENSCAD_BIN} ${OPENSCAD_FLAGS} -o "$@" "$<" 21 ${OPENSCAD_BIN} ${OPENSCAD_FLAGS} -o "$@" "$<"