summaryrefslogtreecommitdiff
path: root/Makefile
Unidiff
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 "$@" "$<"