[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] pattern-specific variable expansion

From: Noel Yap
Subject: Re: [PATCH] pattern-specific variable expansion
Date: Mon, 19 Apr 2004 18:02:57 -0400
User-agent: Mozilla Thunderbird 0.5 (Windows/20040212)

Paul D. Smith wrote:

%% Noel Yap <address@hidden> writes:

  ny> Hmmm, I ran into something similar in which:
  ny> a := A

  ny> bar:
  ny>        @echo $a

  ny> a := B

  ny> would output B.

Of course.  As expected.

Command scripts are not expanded until they are about to be invoked by
make, which is well after all the makefiles are read in.  By that time
the value of the variable "a" IS "B".

Yes, of course.  This makes sense.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]