summaryrefslogtreecommitdiff
path: root/Makefile
authorMichael Krelin <hacker@klever.net>2018-08-31 22:28:17 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-31 22:28:17 (UTC)
commit1204538201ab6005f99507a511ffc17050194c8e (patch) (unidiff)
tree0a9b2a99252714f2cfafbf97e87b8b0e0700bcd8 /Makefile
parent875ceca4d231a22423c42d44d8d14e02d3b4ef37 (diff)
downloadextrudery-1204538201ab6005f99507a511ffc17050194c8e.zip
extrudery-1204538201ab6005f99507a511ffc17050194c8e.tar.gz
extrudery-1204538201ab6005f99507a511ffc17050194c8e.tar.bz2
body label as a separate STL
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 1532827..6393033 100644
--- a/Makefile
+++ b/Makefile
@@ -11,16 +11,18 @@ default:
11 @echo "And?" 11 @echo "And?"
12 12
13clean: 13clean:
14 rm -f *.stl *.gcode 14 rm -f *.stl *.gcode
15 15
16stl-another-%: 16stl-another-%:
17 $(MAKE) another-$*-{body,lever,knob,springpad}.stl 17 $(MAKE) another-$*-{body,body-label,lever,knob,springpad}.stl
18 18
19another-%-body.stl: another-%.scad another.scad 19another-%-body.stl: another-%.scad another.scad
20 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body"' -o "$@" "$<" 20 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body"' -o "$@" "$<"
21another-%-body-label.stl: another-%.scad another.scad
22 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body.label"' -o "$@" "$<"
21another-%-lever.stl: another-%.scad another.scad 23another-%-lever.stl: another-%.scad another.scad
22 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<" 24 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<"
23another-%-knob.stl: another-%.scad another.scad 25another-%-knob.stl: another-%.scad another.scad
24 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<" 26 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<"
25another-%-springpad.stl: another-%.scad another.scad 27another-%-springpad.stl: another-%.scad another.scad
26 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="springpad"' -o "$@" "$<" 28 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="springpad"' -o "$@" "$<"