summaryrefslogtreecommitdiff
path: root/Makefile
Side-by-side diff
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:
rm -f *.stl *.gcode
stl-another-%:
- $(MAKE) another-$*-{body,lever}.stl
+ $(MAKE) another-$*-{body,lever,knob}.stl
another-%-body.stl: another-%.scad another.scad
$(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body"' -o "$@" "$<"
another-%-lever.stl: another-%.scad another.scad
$(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<"
+another-%-knob.stl: another-%.scad another.scad
+ $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<"
%.stl: %.scad
${OPENSCAD_BIN} ${OPENSCAD_FLAGS} -o "$@" "$<"