Debugging Makefiles

Revision as of 10:27, 13 June 2008 by Tim Bird (Talk | contribs) (create page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Here is some information on debugging Makefiles:

There's a good Dr. Dobbs article on this topic, by John Graham-Cumming, at:

or printable, all-in-one page, at

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

Explode the tarballs from these, and place __gmsl, gmsl and gmd in the directory with the Makefile you wish to debug.

Add the following lines to your Makefile:

include gdm



See the following articles for more information: