Thomas> MSVC could do something similar with the /E or /P flag Thomas> (preprocess to standard out or to file). A simple python filter Thomas> looking for #line directives could then collect the Thomas> dependencies. Isn't -E and -P also available in any unixish Thomas> compiler? Yes. I believe this is how some makedepend scripts work. Skip