This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cpplib: Implement -MP for phony targets [was re: -MT]


Tom Tromey wrote:-

> Neil> and this gets the file location correct (to depend on -o if given):-
> Neil> %{MD:-M -MF %{!o: %b.d}%{o*:%.d%*}} %{MMD:-MM -MF %{!o: %b.d}%{o*:%.d%*}}
> 
> Also, shouldn't these be conditional on the user not giving -MF?
> Oh, I guess you're relying on the ordering in the spec so that the
> user -MF will appear after the -MF generated above.

Yes, kind of.  I wanted a command-line -MF to be the winner.

> One last question: you have `%{MF}' in the spec.  Isn't `%{MF*}' what
> you want?

Yes, thanks - could you change that with your patch?

Cheers,

Neil.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]