Unidiff1 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 | |
13 | stl-another-%: |
13 | stl-another-%: |
14 | $(MAKE) another-$*-{body,lever}.stl |
14 | $(MAKE) another-$*-{body,lever,knob}.stl |
15 | |
15 | |
16 | another-%-body.stl: another-%.scad another.scad |
16 | another-%-body.stl: another-%.scad another.scad |
17 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body"' -o "$@" "$<" |
17 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body"' -o "$@" "$<" |
18 | another-%-lever.stl: another-%.scad another.scad |
18 | another-%-lever.stl: another-%.scad another.scad |
19 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<" |
19 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<" |
| |
20 | another-%-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 "$@" "$<" |
|