help-gnu-utils
[Top][All Lists]
Advanced

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

Re: Using logical oprators in GNU makefile


From: Ralf Wildenhues
Subject: Re: Using logical oprators in GNU makefile
Date: Sun, 7 Dec 2008 13:34:42 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

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




reply via email to

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