No description
Find a file
2024-08-12 08:27:58 +12:00
examples fix gitignore 2024-08-12 08:27:58 +12:00
src fix gitignore 2024-08-12 08:27:58 +12:00
.gitignore fix gitignore 2024-08-12 08:27:58 +12:00
.gitmodules first commit 2024-08-11 16:18:06 +12:00
Makefile add install target 2024-08-11 16:36:25 +12:00
README.md update readme 2024-08-12 07:44:49 +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

Compile your projects with -lgearlib $(pkg-config --libs glfw3), for code examples check the examples directory.