Hi Amos, Does this work for you: g++ -M foo.cpp >foo.d The output (conventionally stowed in foo.d) is a Makefile friendly list of header file dependencies. This assumes you have the source code that you're trying to monitor, but if you're doing a -save-temps and -fdump-translation-unit-all, I presume that's a safe assumption. --Eljay