Remove C99 constructs and Gnu make constructs.
Remove files and remove unused lines from Makefile.
Add a build script for committing.

Reorder functions to remove need for forward declarations.