summaryrefslogtreecommitdiffabout
path: root/Makefile
Side-by-side diff
Diffstat (limited to 'Makefile') (more/less context) (show whitespace changes)
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3afaa64
--- a/dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+-include Makefile.local
+
+OPENSCAD_APP?=/Applications/OpenSCAD.app
+OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD
+
+default: fanduct-circular.stl fanduct-3jets.stl
+
+fanduct-%.stl: fanduct-%.scad fanduct.scad
+
+
+%.stl: %.scad
+ ${OPENSCAD_BIN} ${OPENSCAD_FLAGS} -o "$@" "$<"