Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
412072174This file is pinned to the selected release. Download the original to open it in your design tool.
# To render on Mac run the following before make
# export SCAD_BIN="/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD"
SCAD_BIN?=scad
STL_OUTPUT=$(patsubst %.scad,%.stl,$(wildcard */*.scad))
.PHONY: all openscad
all: openscad
openscad: $(STL_OUTPUT)
%.stl: %.scad
$(SCAD_BIN) -o $@ $<