Confirmed on Linux.
http://stackoverflow.com/questions/5584435/how-to-print-dependencies-from-llvm-clang-equivalent-of-gcc-md
python
$ clang -MD source.c $ less source.d
Recommended Posts