help-make
[Top][All Lists]
Advanced

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

Re: Logical AND, OR, XOR operators inside ifeq ... endif construct condi


From: John Graham-Cumming
Subject: Re: Logical AND, OR, XOR operators inside ifeq ... endif construct condition.
Date: Tue, 01 Nov 2005 11:18:15 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104

Paul D. Smith wrote:
I do it like this:

    ifeq ($(var),$(filter $(var),X Y))
        ...
    endif

Most others can be handled using these types of methods as well.

I think that doesn't do the right thing if var is empty.

John.




reply via email to

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