---
** [issues:#5770] Generate dependency files with Clang**
**Status:** Started
**Created:** Sun Feb 16, 2020 08:59 PM UTC by Jonas Hahnfeld
**Last Updated:** Sun Feb 16, 2020 08:59 PM UTC
**Owner:** nobody
Generate 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.
http://codereview.appspot.com/555300044
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto