You can simply write a script that reads the Makefile and looks for special comments. The same principle as with doxygen. How:
#
Just create some data structures in your script, and then dump them at any time convenient for you: LaTeX, Markdown, HTML, Textfile ...
source share