test_gl

Added `test_gl` goal for Makefile (tested on Linux, OS X might require some more tweaking).
Small reorganization of the `Makefile` and `test.c` (no library sources affected).