diff options
author | xengineering <mail2xengineering@protonmail.com> | 2021-05-25 13:51:04 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2021-05-25 13:52:12 +0200 |
commit | 05cbdfbeb5b0326d5890d93ddb464adf1e80553e (patch) | |
tree | dfa2b43dab174375fc7f8723310982d51e74e3a5 | |
parent | d7e544b9e4e0513512e688760c75105a37bfd0bd (diff) | |
download | stlscope-05cbdfbeb5b0326d5890d93ddb464adf1e80553e.tar stlscope-05cbdfbeb5b0326d5890d93ddb464adf1e80553e.tar.zst stlscope-05cbdfbeb5b0326d5890d93ddb464adf1e80553e.zip |
Write Makefile with Targets all, clean and debug
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | Makefile | 14 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | data/L.stl | bin | 0 -> 1084 bytes |
4 files changed, 16 insertions, 4 deletions
@@ -1,5 +1,3 @@ archive vendor -stlscope -*.FCStd -*.stl +build 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 + @@ -16,10 +16,10 @@ $ stlscope -h ## Development Milestones Done (most recent first): +- [x] implement Makefile to support building - [x] implement minimal viable product To do (most important first): -- [ ] implement Makefile to support building - [ ] package for Arch Linux - [ ] implement controls to modify view - [ ] improve graphics to better display the model diff --git a/data/L.stl b/data/L.stl Binary files differnew file mode 100644 index 0000000..24bb5a6 --- /dev/null +++ b/data/L.stl |