help-make
[Top][All Lists]
Advanced

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

Re: adding functions to function.c


From: Boris Kolpackov
Subject: Re: adding functions to function.c
Date: Fri, 14 Jan 2005 22:52:57 +0000 (UTC)
User-agent: nn/6.6.5+RFC1522

John Graham-Cumming <address@hidden> 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.





reply via email to

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