What does HackerNews think of remake?
Enhanced GNU Make - tracing, error reporting, debugging, profiling and more
Language:
C
Might be worth a look at remake, it can help a ton when debugging complex Make setups:
https://github.com/rocky/remake
See also: https://github.com/rocky/remake
ISTR there was a thread about it here a few months ago.
FYI, there's a patched Make providing (among other things) an interactive debugger:
There is a remake[1] project, allowing you to debug Makefile like a usual script language.
https://github.com/rocky/remake the sources there claim to be from version 4.1
See also remake. It's a bit simpler, I think.