Makemake is a project mainly written in C++ and C, it's free.
makefile maker that inspects the current directory and crafts a makefile
This is the unmodified source code provided by the Computer Science department at Rochester Institute of Technology for generating makefiles. It inspects the current directory and determines how to construct the makefile to build everything in the current directory.