[EMAIL PROTECTED] on 2000.08.17 00:37:40
>%% "Noel L Yap" <[EMAIL PROTECTED]> writes:
>
>  >> would give confusing answers.  I'll think about this.  You might
>  >> consider submitting an RFE to the bug tracking system.
>
>  nly> A possibly more general thing to do might be to keep the include
>  nly> stack within MAKEFILE.  One should be able to get the current
>  nly> makefile with $(firstword $(MAKEFILE)).  Anyway, just another
>  nly> consideration.
>
>This is closer to what I was thinking.  Although, I think they should
>come in the order they were read, not in reverse order.  Then the first
>one is always the "main" makefile, and the last one is always the
>current makefile.  Both are easy to get using functions.  So far I've
>had a number of requests for things like this but yours is the first one
>that's wanted the name of the makefile currently being parsed, as
>opposed to the top level.

Well, I guess the order wouldn't matter too much.  Although, as a side request,
it'd be nice to have a $(lastword) function -- I imagine such a builtin function
should work a little faster than $(word $(words $LIST) $LIST) (or something like
that).

I'll see what's already in the RFE URL.

Thanks,
Noel




This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.

Reply via email to