To compile the project you will need SDL2
and SDL2_gfx
installed and configured in pkg-config
.
After that run
git clone https://github.com/Denloob/pendulum.git
cd pendulum
make
For more information please see the Makefile.
After compiling, you can find the binary at ./bin/pendulum
.
You can also use
make run
To both compile and run the pendulum simulation.