Skip to content

Commit a777d25

Browse files
committed
Update README.md
1 parent 7261d4c commit a777d25

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,22 @@
77
- [stb](https://github.com/nothings/stb)
88
- [GLM](https://github.com/g-truc/glm)
99

10-
A nix development shell is included which installs the required libraries into the environment.
10+
A nix development shell is included which comes installed with the required libraries:
1111

1212
```sh
13-
nix develop --impure -c $SHELL
13+
nix develop
1414
```
1515

16-
If not using nix, find the corresponding packages for your distro and install them on your system.
16+
If not using nix, you can install the dependencies system wide.
17+
These are the packages for Ubuntu:
1718

18-
## Compile and run
19+
```sh
20+
sudo apt install libglfw3-dev libglew-dev libstb-dev libglm-dev
21+
```
22+
23+
For other distros, you'll have to find the matching packages and install them on your system.
24+
25+
## Building
1926

2027
With the dependencies installed and accessible to the compiler,
2128
the included Makefile can be used for compiling and running the program.
@@ -27,6 +34,8 @@ make
2734
# compile and run
2835
make run
2936

30-
# clean up any compiled files
37+
# remove all generated build files
3138
make clean
3239
```
40+
41+
The compiled binary can be found at `./bin/out`

0 commit comments

Comments
 (0)