Unidiff1 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 | |
3 | OPENSCAD_APP?=/Applications/OpenSCAD.app |
3 | OPENSCAD_APP?=/Applications/OpenSCAD.app |
4 | OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD |
4 | OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD |
5 | OPENSCAD_FLAGS?=-D draft=false |
5 | OPENSCAD_FLAGS?=-D draft=false -D print=true |
6 | |
6 | |
7 | RENDERVIEWS=holder base |
7 | RENDERVIEWS=holder base |
8 | STLS=$(addsuffix .stl,$(addprefix adapter-,${RENDERVIEWS})) |
8 | STLS=$(addsuffix .stl,$(addprefix adapter-,${RENDERVIEWS}) x-carriage) |
9 | |
9 | |
10 | default: all |
10 | default: all |
11 | |
11 | |
12 | all: ${STLS} |
12 | all: ${STLS} |
13 | clean: |
13 | clean: |
14 | rm -f ${STLS} |
14 | rm -f ${STLS} |
15 | |
15 | |
16 | adapter-%.stl: x-carriage-adapter.scad |
16 | adapter-%.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 "$@" "$<" |
|