summaryrefslogtreecommitdiffabout
path: root/Makefile
authorMichael Krelin <hacker@klever.net>2016-05-30 22:55:40 (UTC)
committer Michael Krelin <hacker@klever.net>2016-05-30 22:55:40 (UTC)
commit72c91c8ba5fb5601fbb2d43e05dd79dc0b441348 (patch) (side-by-side diff)
treeba27f70313ede59b3dc87deaf820b4130fc5b660 /Makefile
parent1bc06881cec07ceaafc0b98310b2424feda5f354 (diff)
downloadfanductory-72c91c8ba5fb5601fbb2d43e05dd79dc0b441348.zip
fanductory-72c91c8ba5fb5601fbb2d43e05dd79dc0b441348.tar.gz
fanductory-72c91c8ba5fb5601fbb2d43e05dd79dc0b441348.tar.bz2
clean target
Diffstat (limited to 'Makefile') (more/less context) (show whitespace changes)
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3afaa64..b6ac877 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,15 @@
-include Makefile.local
OPENSCAD_APP?=/Applications/OpenSCAD.app
OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD
default: fanduct-circular.stl fanduct-3jets.stl
+clean:
+ rm -f *.stl
+
fanduct-%.stl: fanduct-%.scad fanduct.scad
%.stl: %.scad
${OPENSCAD_BIN} ${OPENSCAD_FLAGS} -o "$@" "$<"