Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <02c001bfc044$dbde47b0$9801010a@gpsr.colostate.edu> From: "John Huddleston" To: "Robert Soukop" , References: <003c01bfc03e$b9023c20$3701a8c0 AT ott DOT zucotto DOT com> Subject: Re: ifeq, ifneq Date: Wed, 17 May 2000 15:14:16 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Robert, here is an example export UNIX_VER:=$(shell uname -r) ifeq ($(UNIX_VER), 1.1.1(0.20/3/2)) VERSION:=1.1.1 endif ifeq ($(UNIX_VER), 5.6) VERSION:=Solaris6 endif Your mileage may vary depending upon the make executable. Some systems require a backslash '\' before the dollar sign '$' for the variables. The above works with the make 3.77 released with cygwin 1.1.1 John Huddleston ----- Original Message ----- From: Robert Soukop To: Sent: Wednesday, May 17, 2000 2:30 PM Subject: ifeq, ifneq I'm trying to test for equality and inequality in a makefile which will be run in cygwin but it is not recognizing ifeq or ifneq. Can someone please tell me a way of doing this. Thanks - Rob -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com