When I compile with g++ -MMD x.cpp, the x.o is accompanied by and x.d
containing the dependencies.

Does clang have a flag to enable this?  I did try passing -MMD and,
base on the output of `clang --help` I did try -Xpreprocessor MMD;
however, neither worked.

TIA.

-regards,
Larry

_______________________________________________
cfe-users mailing list
cfe-users@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users

Reply via email to