summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-05-25 13:51:04 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-05-25 13:52:12 +0200
commit05cbdfbeb5b0326d5890d93ddb464adf1e80553e (patch)
treedfa2b43dab174375fc7f8723310982d51e74e3a5 /Makefile
parentd7e544b9e4e0513512e688760c75105a37bfd0bd (diff)
downloadstlscope-05cbdfbeb5b0326d5890d93ddb464adf1e80553e.tar
stlscope-05cbdfbeb5b0326d5890d93ddb464adf1e80553e.tar.zst
stlscope-05cbdfbeb5b0326d5890d93ddb464adf1e80553e.zip
Write Makefile with Targets all, clean and debug
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
+