|
From: | Kiril Serebnik |
Subject: | Re: $(eval ..) in conditional |
Date: | Mon, 24 Dec 2007 17:59:21 +0200 |
On 2007-12-24 15:47Z, Kiril Serebnik wrote:Instead of an error message, I get "BB". Please copy and paste
>
> define FOO
> AA = BB
> endef
>
> ifeq ($(BAR),$(empty))
> $(eval $(FOO))
> endif
>
> .PHONY: all
>
> all:
> @echo $(AA)
> RESULT::
>
> test.mak:6: *** missing `endif'. Stop.
the output you get from make '--version'.
[Prev in Thread] | Current Thread | [Next in Thread] |