help-make
[Top][All Lists]
Advanced

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

Re: The explanation of the make manual regarding to $(call


From: Philip Guenther
Subject: Re: The explanation of the make manual regarding to $(call
Date: Tue, 16 Aug 2011 13:10:13 -0700

On Sun, Aug 14, 2011 at 5:10 AM, ali hagigat <address@hidden> wrote:
> 8.6 The call Function
> The call function expands the param arguments before assigning them to 
> temporary
> variables. This means that variable values containing references to
> builtin functions that
> have special expansion rules, like foreach or if, may not work as you expect.
> Some examples may make this clearer.
> ---------------------------------
> The above lines is talking about the expansion of 'param' before being
> assigned to $(1), $(2) ...
> And it says some examples makes it clearer. Where are the examples?
> There is no example in relation with 'param' expansion!
>
> I wonder if anybody could bring an example.

The simplest example is something like

myif = $(if $1,$2,$3)
false=
$(if



reply via email to

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