basic opengl code using command line compile on OSX.