Maintain your software with amake (a make utility for developers). Supports strong pattern recognition and transformations. A single makefile can be used to compile an entire project.
mkDoxy is to makefiles what Doxygen is to source files: it parses a makefile and produces HTML documentation of available targets and macros. Only comments starting with ## are considered, so it is easy to control what documentation is generated.