summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..8989393
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+# vim: shiftwidth=4 tabstop=4 noexpandtab
+
+.PHONY: all clean debug
+
+all:
+ mkdir -p build
+ go build -o build/stlscope *.go
+
+clean:
+ rm -rf build
+
+debug:
+ go run *.go -file data/L.stl
+