delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <80575AFA5F0DD31197CE00805F650D7602CFF4@wilber.adroit.com> |
From: | "Robinow, David" <drobinow AT dayton DOT adroit DOT com> |
To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Subject: | RE: Makefile that runs w.o. changes on Cygwin & Linux: how to do |
"rm -f $(TARGET)"? | |
Date: | Thu, 6 Sep 2001 17:39:10 -0400 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2650.21) |
MACH=`uname -s` case "${MACH}" in CYGWIN*) EXE=".exe" ;; *) EXE="" ;; esac rm -f thing${EXE} > -----Original Message----- > From: Karr, David [mailto:david DOT karr AT cacheflow DOT com] > Sent: Thursday, September 06, 2001 4:38 PM > To: 'cygwin AT cygwin DOT com' > Subject: Makefile that runs w.o. changes on Cygwin & Linux: how to do > "rm -f $(TARGET)"? > > > I have a little test application that I want to build and run > without change > on Cygwin and Linux. It almost works perfectly, except for > the "clean" > target. Is there any way to reference "thing" and have it > mean "thing" on > Linux, but "thing.exe" on Cygwin? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |