%% "Adrian Ashley" <[EMAIL PROTECTED]> writes:
aa> Tried that:
Oh right. Duh. Need to remember to drink my morning tea before
responding :).
aa> I hesitate to call this a bug, as the documentation does say that
aa> pattern rule matching proceeds until the first match and then
aa> stop
Paul,
> aa> Can anyone suggest a way to accomplish multiple
> aa> pattern-specific variable assignments? This
> aa> fragment illustrates what I'm trying to do.
>
> aa> foo-%.o : CFLAGS += -DVARIANT=FOO
> aa> bar-%.o : CFLAGS += -DVARIANT=BAR
>
> aa> %-gcc.o : CFLAGS += -DGCC
> aa>
%% "Adrian Ashley" <[EMAIL PROTECTED]> writes:
aa> Can anyone suggest a way to accomplish multiple pattern-specific variable
aa> assignments? This fragment illustrates what I'm trying to do.
aa> foo-%.o : CFLAGS += -DVARIANT=FOO
aa> bar-%.o : CFLAGS += -DVARIANT=BAR
aa> %-gcc.o : CFL
Can anyone suggest a way to accomplish multiple pattern-specific variable
assignments? This fragment illustrates what I'm trying to do.
--snip--
CC_GCC=gcc
CC_OTHER=another-cc
CFLAGS = -DBASIC
foo-%.o : CFLAGS += -DVARIANT=FOO
bar-%.o : CFLAGS += -DVARIANT=BAR
%-