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

OPENSCAD_APP?=/Applications/OpenSCAD.app
OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD
OPENSCAD_FLAGS=-D draft=false

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

clean:
	rm -f *.stl

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


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