John Graham-Cumming <[EMAIL PROTECTED]> writes:

> Of course, you could define lastword like this:
>
> lastword = $(word $(words $1),$1)
>
> and then $(call) it:
>
> include $(dir $(call lastword,$(MAKEFILE_LIST)))../build/bootstrap.make

Since it's a bootstrapping process I will have to define it in every
makefile:

lastword = $(word $(words $1),$1)
include $(dir $(call lastword,$(MAKEFILE_LIST)))../build/bootstrap.make

So I'd rather not.



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

Reply via email to