2023-06-06 04:14:58 +00:00
|
|
|
.PHONY: all clean
|
|
|
|
|
2023-06-07 01:57:22 +00:00
|
|
|
all: case.stl mounting_bracket.stl
|
2023-06-06 04:14:58 +00:00
|
|
|
|
2023-06-06 21:29:19 +00:00
|
|
|
pcb_dimensions.scad: generate.py ../kicad/Digital\ Audio\ Switch.kicad_pcb
|
2023-06-06 04:14:58 +00:00
|
|
|
python3 $< > $@
|
|
|
|
|
2023-06-07 01:57:22 +00:00
|
|
|
%.stl: case.scad pcb_dimensions.scad
|
|
|
|
openscad -o $@ -D MODE=\"$(basename $@)\" $<
|
2023-06-06 04:14:58 +00:00
|
|
|
|
|
|
|
clean:
|
2023-06-06 21:29:19 +00:00
|
|
|
rm -f case.stl pcb_dimensions.scad
|