summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
-rw-r--r--README.md7
2 files changed, 16 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8989393..9bcf23e 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/README.md b/README.md
index c6456e6..e03d7ca 100644
--- a/README.md
+++ b/README.md
@@ -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)