> On 10/10/07, Bryan Ischo <[EMAIL PROTECTED]> wrote:

> ---foo.mk---BEGIN
> foo_VARIABLE = foo_variable
> ---foo.mk---END
>
> ---bar.mk---BEGIN
> bar_VARIABLE = bar_variable
> ---bar.mk---END

Thank you for the suggestion.  I had thought of that already as a possible
workaround; essentially giving every variable a unique name so that when
the rule evaluates and the variable is substituted, there can be no
'overwriting' of variables causing any problems.

I was hoping to avoid this though as what you suggest makes the makefile
fragments just a little bit messier to write; not much messier but just a
tiny bit.  But without any other workaround, what you suggest is I think a
good alternative.

Thank you, and best wishes,
Bryan






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

Reply via email to