14 lines
591 B
Markdown
14 lines
591 B
Markdown
# Gearlib Rewrite
|
|
This is a rewrite of gearlib to make it easier to use, as the previous version was written when I wasn't great at writing libraries for C.
|
|
|
|
## Dependencies
|
|
- glfw3 (Needs to be installed to your system)
|
|
- pkg-config (Used for finding libraries such as glfw3)
|
|
|
|
## Building
|
|
1. Clone the repo: ```git clone https://git.samahh.dev/sam/gearlib-rw --recursive```
|
|
2. Move into the cloned directory: ```cd gearlib-rw```
|
|
3. Run: `sudo make install`
|
|
|
|
## Usage
|
|
Compile your projects with ```-lgearlib $(pkg-config --libs glfw3)```, for code examples check the examples directory.
|