summaryrefslogtreecommitdiffabout
path: root/Makefile
blob: b6ac87797972dfeb180849b265b11990afbf8947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-include Makefile.local

OPENSCAD_APP?=/Applications/OpenSCAD.app
OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD

default: fanduct-circular.stl fanduct-3jets.stl

clean:
	rm -f *.stl

fanduct-%.stl: fanduct-%.scad fanduct.scad


%.stl: %.scad
	${OPENSCAD_BIN} ${OPENSCAD_FLAGS} -o "$@" "$<"