diff --git a/Makefile b/Makefile index cedc993..61515ff 100644 --- a/Makefile +++ b/Makefile @@ -10,3 +10,4 @@ bear: clean clean: $(MAKE) -C src clean $(MAKE) -C test clean + rm -rf compile_commands.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..674827b --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# 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```, for code examples check the examples directory. diff --git a/src/libgearlib.a b/src/libgearlib.a deleted file mode 100644 index 29eab92..0000000 Binary files a/src/libgearlib.a and /dev/null differ