X-Spam-Check-By: sourceware.org Date: Wed, 18 Jul 2007 21:16:48 -0700 From: David Rothenberger Subject: Re: cygwin's [g]make 3.81 seems not to understand conditionals In-reply-to: <469EE285.2010603@gmail.com> To: cygwin AT cygwin DOT com Message-id: <469EE5B0.3010507@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <469EE285 DOT 2010603 AT gmail DOT com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666 X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 7/18/2007 9:03 PM, Carlo Florendo wrote: > I've got (and attached) this simple Makefile that checks the build > platform of a machine. > > Here's the cut-and-pasted content of the Makefile: > > PLATFORM=$(shell uname -s | cut -f 1 -d " " | cut -f 1 -d "_"); Try removing the trailing semicolon. It is not removed by make, so PLATFORM ends up being "CYGWIN;". -- David Rothenberger spammer? -> spam AT daveroth DOT dyndns DOT org GPG/PGP: 0x92D68FD8, DB7C 5146 1AB0 483A 9D27 DFBA FBB9 E328 92D6 8FD8 Ferguson's Precept: A crisis is when you can't say "let's forget the whole thing." -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/