This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin's [g]make 3.81 seems not to understand conditionals
- From: David Rothenberger <daveroth at acm dot org>
- To: cygwin at cygwin dot com
- Date: Wed, 18 Jul 2007 21:16:48 -0700
- Subject: Re: cygwin's [g]make 3.81 seems not to understand conditionals
- References: <469EE285.2010603@gmail.com>
- Reply-to: 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@daveroth.dyndns.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/