Paul D. Smith wrote:

%% Noel Yap <[EMAIL PROTECTED]> 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.


Thanks,
Noel



_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to