This article describes some macros you can put in your Makefiles to show
you the values of symbols, and to show the dependencies that led to a particular
target being built. This is handy if you have a complex Makefile that you
are trying to debug.

Makefile Debugger

John has also written a Makefile Debugger.
The following resources are needed to use this debugger: