diff options
author | xengineering <mail2xengineering@protonmail.com> | 2021-05-25 20:48:03 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2021-05-25 20:48:03 +0200 |
commit | b37c8b22a954f52c280722a6f9ff41cbc8ecf8d3 (patch) | |
tree | 13d74f6314de03f7d2369854f8b173ad69a6b8e9 | |
parent | 05cbdfbeb5b0326d5890d93ddb464adf1e80553e (diff) | |
download | stlscope-b37c8b22a954f52c280722a6f9ff41cbc8ecf8d3.tar stlscope-b37c8b22a954f52c280722a6f9ff41cbc8ecf8d3.tar.zst stlscope-b37c8b22a954f52c280722a6f9ff41cbc8ecf8d3.zip |
Add install Target0.1.0
-rw-r--r-- | Makefile | 12 | ||||
-rw-r--r-- | README.md | 7 |
2 files changed, 16 insertions, 3 deletions
@@ -1,14 +1,20 @@ # vim: shiftwidth=4 tabstop=4 noexpandtab -.PHONY: all clean debug +PREFIX=/usr all: mkdir -p build - go build -o build/stlscope *.go + go build -o build/stlscope ./... clean: rm -rf build debug: - go run *.go -file data/L.stl + go run ./... -file data/L.stl + +install: all + mkdir -p $(PREFIX)/bin + install -m 755 build/stlscope $(PREFIX)/bin + +.PHONY: all clean debug install release @@ -23,4 +23,11 @@ To do (most important first): - [ ] package for Arch Linux - [ ] implement controls to modify view - [ ] improve graphics to better display the model +- [ ] add support for ASCII STL format +- [ ] improve performance with GPU-based matrix-matrix-multiplication + +## Further Ressources + +- [Antons OpenGL tutorial](https://antongerdelan.net/opengl/) +- [OpenGL, GLFW and Go tutorial](https://kylewbanks.com/blog/tutorial-opengl-with-golang-part-1-hello-opengl) |