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, [EMAIL PROTECTED] 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
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make




_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to