Paul D. Smith <[EMAIL PROTECTED]> writes:
 
> I didn't look to see how these are defined but I don't see how they can
> work in general.
> 
> Consider, for example, something like this:
> 
>     XXFLAGS += -a
> 
>     foo.yy: foo.xx
>             $(XX) $(XXFLAGS) -o $@ $<
> 
> The XXFLAGS reference is embedded into a rule, so if you change the name
> of the variable it won't resolve properly when the rule is invoked.
> 
> 
> You can do this kind of frame idea only if you never have any rules
> defined in your included makefiles... right?

Not quite for I use target/pattern-specific variables in rules. It proved
to work surprisingly well for me.

-boris

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to