specs question.

Ian Lance Taylor iant@google.com
Mon Apr 12 22:30:00 GMT 2010


IainS <developer@sandoe-acoustics.co.uk> writes:

> what is the expected behavior of ?
>
> %{.c|.cc|.for|.F90: foo }
>
> .. as I read gcc/gcc.c I would expect to get "foo" for command lines
> with files with these suffixes:
> .c
> .cc
> .for
> .F90
>
> but not otherwise (since it says . binds more strongly than |) ;

That sounds right to me.  Do you see something different?

Ian



More information about the Gcc mailing list