help-make
[Top][All Lists]
Advanced

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

Re: ifeq ($(VAR), value1) OR ($(VAR), value2)


From: David Boyce
Subject: Re: ifeq ($(VAR), value1) OR ($(VAR), value2)
Date: Tue, 20 Apr 2004 08:58:06 -0400

I would think that something like

ifneq (, $(filter $VAR, value1 value2))
........
endif

(untested) would do the trick.

-dsb

At 08:23 AM 4/20/2004, address@hidden wrote:


Hi all,

I am currntly writing a makefile and I would like to do the following :

ifeq ($(VAR), value1) OR ($(VAR), value2)
..........
 ..........
 ..........
endif

And I haven't find any "multiple" conditional syntax in the GNU make manual... (chap 7)

Is it possible ? and what is the syntax ?

Thank you very much for your precious help !

Peio

:.________________
CONFIDENTIALITE : Ce message et les éventuelles pièces attachées sont confidentiels. Si vous n'êtes pas dans la liste des destinataires, veuillez informer l'expéditeur immédiatement et ne pas divulguer le contenu à une tierce personne, ne pas l'utiliser pour quelque raison que ce soit, ne pas stocker ou copier l'information qu'il contient sur un quelconque support.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
_______________________________________________
Help-make mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-make






reply via email to

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