C-version now build using CMake.
http://www.cmake.org/
http://duganchen.ca/building-sdl2-programs-with-cmake-and-pkgconfig/