-rw-r--r-- | Makefile | 12 |
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 @@ | |||
1 | -include Makefile.local | ||
2 | |||
3 | OPENSCAD_APP?=/Applications/OpenSCAD.app | ||
4 | OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD | ||
5 | |||
6 | default: fanduct-circular.stl fanduct-3jets.stl | ||
7 | |||
8 | fanduct-%.stl: fanduct-%.scad fanduct.scad | ||
9 | |||
10 | |||
11 | %.stl: %.scad | ||
12 | ${OPENSCAD_BIN} ${OPENSCAD_FLAGS} -o "$@" "$<" | ||