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.
Looking through the command line options to cl.exe
, I don't see anything obvious. I can handle tweaking the output with post-processing, but the closer the better.