How to get gmake to give me a list of all included makefiles

gnu-makemake

I've inherited a major mess of a makefile network that was itself inherited from another project, with makefiles included all over the place. I'm trying to make a simple change without gutting the whole thing (tempting though that is, I just don't have the time right now).

Is there any way to coax a full makefile out of gmake, i.e., with all the included files already included? I know how to get the database dumped, but that's just about as hard to follow with all the extraneous junk that gets loaded in.

Best Answer

Remake has some very interesting debug output.

Related Question