www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <496B41B0.7090105@sbcglobal.net> |
Date: | Mon, 12 Jan 2009 13:12:16 +0000 |
From: | Greg Chicares <gchicares AT sbcglobal DOT net> |
User-Agent: | Thunderbird 2.0.0.19 (Windows/20081209) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Reliably check if we're running under cygwin inside Makefile |
References: | <gkfcgt$m9j$1 AT ger DOT gmane DOT org> |
In-Reply-To: | <gkfcgt$m9j$1@ger.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 2009-01-12 12:19Z, Eric Lilja wrote: > Hello, I have a program that will built both under fedora and under > cygwin. The program is written in C and the Makefile is slightly > different between the two systems. Is it possible to check some > environment variable in the makefile to determine what to do? Not really Cygwin specific, but here's a common method: http://lists.gnu.org/archive/html/help-make/2006-12/msg00065.html -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |