digitalaudioswitch/openscad/Makefile

13 lines
275 B
Makefile
Raw Normal View History

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