gearlib-rw/README.md

15 lines
591 B
Markdown
Raw Permalink Normal View History

2024-08-11 16:26:37 +12:00
# 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
2024-08-12 07:44:49 +12:00
Compile your projects with ```-lgearlib $(pkg-config --libs glfw3)```, for code examples check the examples directory.