summaryrefslogtreecommitdiffabout
path: root/Makefile
blob: c82e15a5305742a8a6c543baf9ebf889cd6e2483 (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-jets.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 "$@" "$<"