Generalized make file for architecture
Fixed bug passing const string to fprintf
Added cstring include to appease G++