This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [build/rfc] automatic md file dependencies
>>>>> "Zack" == Zack Weinberg <zack@codesourcery.com> writes:
Zack> GCC's automatic-dependency-generation for C offers the -MP option
Zack> which is intended to work around this:
Zack> Richard's MD dependency generator could be modified to create these.
Zack> Off the top of my head I can't think of any problems this would cause,
Zack> but I might be missing something.
I think it won't cause any problems. Automake has been using -MP in
this way for years, and before -MP existed, it was constructing the
phony targets with sed.
Tom