author | Michael Krelin <hacker@klever.net> | 2016-07-15 19:00:54 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-07-15 19:00:54 (UTC) |
commit | db51c14562252dff8013d1d7a4fdbed36b69ef36 (patch) (unidiff) | |
tree | 0b84a18d90a05eff922ea565ec31049601900afb | |
parent | 41c8af93ec2bf962e3a18b8fe7602d2cf676189d (diff) | |
download | carriagery-db51c14562252dff8013d1d7a4fdbed36b69ef36.zip carriagery-db51c14562252dff8013d1d7a4fdbed36b69ef36.tar.gz carriagery-db51c14562252dff8013d1d7a4fdbed36b69ef36.tar.bz2 |
Makefile: render carriage
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,10 +2,10 @@ | |||
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 | ||
@@ -14,7 +14,7 @@ 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 |