title: Does the Visual Studio C compiler have an equivalent to GCC's -M?
body: <p>I would like to automatically generate a Makefile dependency list, but I am using Visual Studio 2005. If I were using GCC, I could pass  -M (or one of the many variants) to create this dependency list.</p>
  
  <p>Looking through the command line options to <code>cl.exe</code>, I don't see anything obvious. I can handle tweaking the output with post-processing, but the closer the better.</p>