summaryrefslogtreecommitdiffabout
path: root/Makefile
blob: b72584ff0776dc1524b1d79677030e9b115c55ff (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 fanduct-dual-jets.stl

clean:
	rm -f *.stl

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


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