DescriptionGenerate dependency files with Clang
Clang has no support for the DEPENDENCIES_OUTPUT variable. Instead
pass -MMD -MF -MT to achieve the same effect with both GCC and Clang.
This solution even comes with the advantage that passing -MP gives
"a phony target for each dependency" to "work around errors make
gives if you remove header files".
In the long term, we should definitely think about using something
like AutoMake for this purpose so that we don't have to maintain
these details of our build system...
Additionally delete rules for .lo files. As far as I can tell, they
are not used.
Patch Set 1 #
MessagesTotal messages: 6
|