summaryrefslogtreecommitdiff
path: root/Makefile
authorMichael Krelin <hacker@klever.net>2017-02-06 21:20:07 (UTC)
committer Michael Krelin <hacker@klever.net>2017-02-06 21:20:07 (UTC)
commit461e05f32eacaffd4508abf2943fcad8d0c7d00d (patch) (unidiff)
treeb4d25537b953efb9e2e44815520f36f0c6df4773 /Makefile
parentc83b5d18ae09805a6a65715a2586c225ff393074 (diff)
downloadextrudery-461e05f32eacaffd4508abf2943fcad8d0c7d00d.zip
extrudery-461e05f32eacaffd4508abf2943fcad8d0c7d00d.tar.gz
extrudery-461e05f32eacaffd4508abf2943fcad8d0c7d00d.tar.bz2
knob
Diffstat (limited to 'Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9444a03..31135cb 100644
--- a/Makefile
+++ b/Makefile
@@ -11,12 +11,14 @@ clean:
11 rm -f *.stl *.gcode 11 rm -f *.stl *.gcode
12 12
13stl-another-%: 13stl-another-%:
14 $(MAKE) another-$*-{body,lever}.stl 14 $(MAKE) another-$*-{body,lever,knob}.stl
15 15
16another-%-body.stl: another-%.scad another.scad 16another-%-body.stl: another-%.scad another.scad
17 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body"' -o "$@" "$<" 17 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body"' -o "$@" "$<"
18another-%-lever.stl: another-%.scad another.scad 18another-%-lever.stl: another-%.scad another.scad
19 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<" 19 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<"
20another-%-knob.stl: another-%.scad another.scad
21 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<"
20 22
21%.stl: %.scad 23%.stl: %.scad
22 ${OPENSCAD_BIN} ${OPENSCAD_FLAGS} -o "$@" "$<" 24 ${OPENSCAD_BIN} ${OPENSCAD_FLAGS} -o "$@" "$<"