author | Michael Krelin <hacker@klever.net> | 2018-08-31 22:28:17 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-31 22:28:17 (UTC) |
commit | 1204538201ab6005f99507a511ffc17050194c8e (patch) (unidiff) | |
tree | 0a9b2a99252714f2cfafbf97e87b8b0e0700bcd8 /Makefile | |
parent | 875ceca4d231a22423c42d44d8d14e02d3b4ef37 (diff) | |
download | extrudery-1204538201ab6005f99507a511ffc17050194c8e.zip extrudery-1204538201ab6005f99507a511ffc17050194c8e.tar.gz extrudery-1204538201ab6005f99507a511ffc17050194c8e.tar.bz2 |
body label as a separate STL
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -11,16 +11,18 @@ default: | |||
11 | @echo "And?" | 11 | @echo "And?" |
12 | 12 | ||
13 | clean: | 13 | clean: |
14 | rm -f *.stl *.gcode | 14 | rm -f *.stl *.gcode |
15 | 15 | ||
16 | stl-another-%: | 16 | stl-another-%: |
17 | $(MAKE) another-$*-{body,lever,knob,springpad}.stl | 17 | $(MAKE) another-$*-{body,body-label,lever,knob,springpad}.stl |
18 | 18 | ||
19 | another-%-body.stl: another-%.scad another.scad | 19 | another-%-body.stl: another-%.scad another.scad |
20 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body"' -o "$@" "$<" | 20 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body"' -o "$@" "$<" |
21 | another-%-body-label.stl: another-%.scad another.scad | ||
22 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body.label"' -o "$@" "$<" | ||
21 | another-%-lever.stl: another-%.scad another.scad | 23 | another-%-lever.stl: another-%.scad another.scad |
22 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<" | 24 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<" |
23 | another-%-knob.stl: another-%.scad another.scad | 25 | another-%-knob.stl: another-%.scad another.scad |
24 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<" | 26 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<" |
25 | another-%-springpad.stl: another-%.scad another.scad | 27 | another-%-springpad.stl: another-%.scad another.scad |
26 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="springpad"' -o "$@" "$<" | 28 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="springpad"' -o "$@" "$<" |