c - Backtrace for GNU make -


is there way gnu make print "backtrace" of targets led command being executed when fails? regularly deal heavily obfuscated makefiles while resolving portability issues building software on new system, , seems should extremely simple thing make aid in debugging, can't find way request it. i'd see like:

gcc: error: ... make[2]: error: gcc ... make[2]: error building target bar make[2]: error building dependency bar target foo make[1]: error: make -c subdir make[1]: error building target subdir make[1]: error building dependency subdir target ... 

showing entire dependency path how failed command ended getting executed.

is there way this?

make -p , make -d provide interesting information, not precisely asking for. see make's man page.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -