using makefile to generate a single file. not done.