author | Michael Krelin <hacker@klever.net> | 2018-09-06 20:58:54 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-09-06 20:58:54 (UTC) |
commit | 1409beae6cdd6520ef037b0d2a083844ce0e0c47 (patch) (unidiff) | |
tree | f6a4df48f0f870a3f152db11bf464052b5add237 /Makefile | |
parent | 4cc8be3ab27f44d8a298b8df3df0092d1f95e067 (diff) | |
download | extrudery-1409beae6cdd6520ef037b0d2a083844ce0e0c47.zip extrudery-1409beae6cdd6520ef037b0d2a083844ce0e0c47.tar.gz extrudery-1409beae6cdd6520ef037b0d2a083844ce0e0c47.tar.bz2 |
spring compression scale
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,30 +5,32 @@ OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD | |||
5 | OPENSCAD_FLAGS=-D draft=false -D debug=false | 5 | OPENSCAD_FLAGS=-D draft=false -D debug=false |
6 | SED?=sed | 6 | SED?=sed |
7 | ECHO?=/bin/echo | 7 | ECHO?=/bin/echo |
8 | AWK?=awk | 8 | AWK?=awk |
9 | 9 | ||
10 | default: | 10 | 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,body-label,lever,knob,knob-label,springpad}.stl | 17 | $(MAKE) another-$*-{body,body-label,body-scale,lever,knob,knob-label,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 | 21 | another-%-body-label.stl: another-%.scad another.scad |
22 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body.label"' -o "$@" "$<" | 22 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body.label"' -o "$@" "$<" |
23 | another-%-body-scale.stl: another-%.scad another.scad | ||
24 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body.scale"' -o "$@" "$<" | ||
23 | another-%-lever.stl: another-%.scad another.scad | 25 | another-%-lever.stl: another-%.scad another.scad |
24 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<" | 26 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<" |
25 | another-%-knob.stl: another-%.scad another.scad | 27 | another-%-knob.stl: another-%.scad another.scad |
26 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<" | 28 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<" |
27 | another-%-knob-label.stl: another-%.scad another.scad | 29 | another-%-knob-label.stl: another-%.scad another.scad |
28 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob.label"' -o "$@" "$<" | 30 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob.label"' -o "$@" "$<" |
29 | another-%-springpad.stl: another-%.scad another.scad | 31 | another-%-springpad.stl: another-%.scad another.scad |
30 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="springpad"' -o "$@" "$<" | 32 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="springpad"' -o "$@" "$<" |
31 | 33 | ||
32 | multiswitch: multiswitch.c8r.scad $(addsuffix .stl,$(addprefix multiswitch-embeddest-,2 3 4 5 6)) | 34 | multiswitch: multiswitch.c8r.scad $(addsuffix .stl,$(addprefix multiswitch-embeddest-,2 3 4 5 6)) |
33 | multiswitch-embeddest-%.stl: multiswitch-embeddest.scad | 35 | multiswitch-embeddest-%.stl: multiswitch-embeddest.scad |
34 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D inputs=$* -o "$@" "$<" | 36 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D inputs=$* -o "$@" "$<" |