This is a starter template for a SDL2 project with C on macOS.
Libs: SDL2, SDL2_image
brew install sdl2 sdl2-image
The libraries and headers are already symlinked in the lib
and include
folders.
make all # compile
make run # run
make clean # clean