[Omake] Question about string literals in rules
Aleksey Nogin
nogin at metaprl.org
Tue Oct 2 09:05:56 PDT 2007
On 02.10.2007 04:56, Alain Frisch wrote:
> It seems that string literals in rule bodies force the evaluation of
> functional applications. E.g. simply calling "omake" with this OMakefile
>
> foo(bar) =
> echo $(bar)
> return 1
>
> .PHONY: all
> echo $"$(foo XXX)"
>
> would display XXX even if the rule is not run. Is this the intended
> behavior?
I am not sure. Jason - do we want this to happen?
> Is there a way to suspend the application?
Put it inside a section:
.PHONY: all
section
echo $"$(foo XXX)"
Aleksey
More information about the Omake
mailing list