File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 1
1
![ screenshot] ( /screenshots/2024-06-24.png )
2
2
3
+ # Install
4
+
5
+ This game can be installed by using make:
6
+
7
+ ``` sh
8
+ make install
9
+ ```
10
+
11
+ Make will put the game files in ` /usr/local/cpp-opengl ` by default, and create a wrapper script to load shaders and textures.
12
+ This can be changed with the ` PREFIX ` environment variable.
13
+
14
+ Nix can also be used to run the project straight from the repo:
15
+
16
+ ``` sh
17
+ nix run github:joinemm/cpp-opengl
18
+ ```
19
+
20
+ # Develop
21
+
3
22
## Dependencies
4
23
5
24
- [ GLFW] ( https://github.com/glfw/glfw )
@@ -38,4 +57,11 @@ make run
38
57
make clean
39
58
```
40
59
41
- The compiled binary can be found at ` ./bin/out `
60
+ The compiled binary can be found at ` ./game `
61
+
62
+ Nix can also be used to for building:
63
+
64
+ ``` sh
65
+ nix build
66
+ cd result
67
+ ```
You can’t perform that action at this time.
0 commit comments