generates makefiles for programs. named ofter J. Ganeles