GNU Make - get list of targets to be made
I'm trying to find a way to get GNU Make 3.80 to list out all the targets it will make.
I have a top level makefile in my root folder, and it points to makefiles in subfolders etc.
I *really* want it to tell me which make files it will run in what order, but will settle for a list of all the targets and will figure out what I need from that.
I've tried various combinations of options like
-B always make
-d print debug
-n just print out commands
-p print make's internal DB
-t touch targets instead of making them
but not finding what I am hoping for.
Also --help mentions option --debug[=FLAGS] but doesn't say what FLAGS can be ... anyone know ..