On Fri, 2008-10-17 at 15:13 +0200, grischka wrote:
> Actually it hasn't to do with nature, rather the term "recursive
> variable" simply describes a limitation with gnu-make internals.
> Consider:
>
> V = A B C
> V = $(V) D E F
>
> It should be clear to almost everybody what this means, however the
> problem with gnu-make is that it does not store more than one
> assignment to the same variable name, so the second line will just
> erase it's knowledge about the first line.
What about:
V = a b c $@
V = c $(V) d
V = q $(V) r x
etc.? In order to make this work the way you suggest, you'd have to
store every assignment of every value to every variable, then every time
the value is expanded you'd basically have to walk through the entire
assignment history from the beginning.
And what about co-dependent variables?
A = a b
C = d e
A = $(C) $(A)
C = q r x $(A) $(C)
etc. etc.?
I think you are simplifying the problem space WAY too much.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.us
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make