You can compile three different types of raylib library:
* The static library (default method)
@ -40,9 +43,22 @@ Install the library to the standard directories, `usr/local/lib` and `/usr/local
sudo make uninstall
sudo make uninstall RAYLIB_LIBTYPE=SHARED
_NOTE:_ raylib is configurable and can be be built in a variety of ways. Please read raylib/src/Makefile and raylib.h itself to see all the available options and values.
_NOTE:_ raylib is configurable and can be be built in a variety of ways. Please read raylib/src/Makefile and raylib.h itself to see all the available options and values.
### Build raylib using CMake
Building with cmake on Linux is easy, just use the following:
In case any dependencies are missing, cmake will tell you.
### Link raylib with system GLFW
Instead of using the embedded GLFW, you can download GLFW3 and build it from source, for which you will need cmake; if you don't have it, just do: `sudo apt install cmake`
Instead of using the embedded GLFW, you can download GLFW3 and build it from source (it requires CMake).