Re: Using logical oprators in GNU makefile

Ralf Wildenhues <[email protected]> Sun, 7 Dec 2008 13:34:42 +0100
Newsgroups gmane.comp.gnu.utils
Organization Department of Numerical Simulation, University of Bonn
Message-ID <[email protected]>
Hello,

* [email protected] 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