Import the sketchy 'C' OpenGL code and build infrastructure

Will need to C++ify the code, but the Makefile is already in C++11 mode.