[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $(eval ..) in conditional
From: |
Greg Chicares |
Subject: |
Re: $(eval ..) in conditional |
Date: |
Mon, 24 Dec 2007 15:56:54 +0000 |
User-agent: |
Thunderbird 2.0.0.9 (Windows/20071031) |
On 2007-12-24 15:47Z, Kiril Serebnik wrote:
>
> define FOO
> AA = BB
> endef
>
> ifeq ($(BAR),$(empty))
> $(eval $(FOO))
> endif
>
> .PHONY: all
>
> all:
> @echo $(AA)
> RESULT::
>
> test.mak:6: *** missing `endif'. Stop.
Instead of an error message, I get "BB". Please copy and paste
the output you get from make '--version'.