raylib

Simple library for learning video game programming

brewmacoslinux
Try with needOr install directly
Source

About

Simple and easy-to-use library to learn videogames programming

Commands

raylib

Examples

Include raylib in a C project by linking during compilation$ gcc -o game game.c -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
Use raylib with pkg-config to get compiler flags automatically$ gcc -o game game.c $(pkg-config --cflags --libs raylib)
Compile a raylib project using CMake with raylib dependency$ cmake -DCMAKE_PREFIX_PATH=$(brew --prefix raylib) && make