[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using logical oprators in GNU makefile
From: |
Koteswar16 |
Subject: |
Re: Using logical oprators in GNU makefile |
Date: |
Tue, 28 Apr 2009 21:37:21 -0700 (PDT) |
But how to do ORing in make file ?
i.e.
ifeq ($(var1), value1) || ($(var2), value2)
--------
endif
-Koteswar
Ralf Wildenhues wrote:
>
> Hello,
>
> * manjushree@gmail.com wrote on Mon, Dec 01, 2008 at 08:40:38AM CET:
>> I want to use logical operators for checking if conditon.How do i use
>> this..
>> I want something like this..
>> if ((condition) &&(condition))
>> can i write like above.
>
> Using GNU make, maybe this is what you need?
>
> ifeq ($(var1), value1)
> ifeq ($(var2), value2)
> ...
> endif
> endif
>
> Cheers,
> Ralf
>
>
>
>
--
View this message in context:
http://www.nabble.com/Using-logical-oprators-in-GNU-makefile-tp20774036p23290374.html
Sent from the Gnu - Utils - Help mailing list archive at Nabble.com.
- Re: Using logical oprators in GNU makefile,
Koteswar16 <=