help-make
[Top][All Lists]
Advanced

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

Re: ifeq and logical OR?


From: Paul Smith
Subject: Re: ifeq and logical OR?
Date: Sun, 04 Mar 2012 02:16:44 -0500

On Sat, 2012-03-03 at 22:26 -0500, Jeffrey Walton wrote:
> Is there a way to combine the tests using an OR?

There are lots of options.  Dave provided one; there are numerous
variations on that them.  You can use the $(filter ...) or
$(filter-out ...) functions.  If you are willing to change your shell
commands there are other options, such as using the $(or ...) function.

Etc.

> I don't recall seing it in Stallman's GNU Make book (and the book is
> not handy at the moment).

The GNU make manual is available online in various formats:

http://www.gnu.org/software/make/manual/

Be aware that this documents the latest released version of GNU make.
If you have an older version some features discussed in the manual may
not be available in your version.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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