delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <20040513100424.93386.qmail@web50009.mail.yahoo.com> |
Date: | Thu, 13 May 2004 03:04:24 -0700 (PDT) |
From: | Dave <d_inabox AT yahoo DOT com> |
Subject: | Re: FW: wildcard in Makefile giving wrong output |
To: | cygwin AT cygwin DOT com |
In-Reply-To: | <E562FCEE3A42D61192880002A5FB433301FAFEA0@kite.pigroup.co.uk> |
MIME-Version: | 1.0 |
WFM (XP, 20040322 snapshot, make 3.80-1) . However, this has been reported before: http://www.cygwin.com/ml/cygwin/2003-09/msg01172.html > > -----Original Message----- > > From: Dave Korn [mailto:dk AT artimi DOT com] > > > > > -----Original Message----- > > > From: cygwin-owner On Behalf Of Nitin Gupta > > > Sent: 12 May 2004 18:58 > > > > > cat Makefile > > > > > > > > > WORKSPACE=$(shell pwd) > > > test: > > > @echo $(wildcard $(WORKSPACE)/ph*/*.cx) > > > ============= > > > > > > Directory structure > > > Makefile > > > phase1/ > > > phase3/ > > > > > > phase1/main.cx > > > phase1/phase1.hx > > > > > > phase3/p123.cx > > > phase3/p123.hx > > > phase3/phase3.cx > > > phase3/phase3.hx > > > > > > ====================== > > > output of make (WRONG, please note main.cx is missing and > > p123.cx is > > > mentioned twice) > > > /cygdrive/m/users/qasoft/tmp/bug/phase1/p123.cx > > > /cygdrive/m/users/qasoft/tmp/bug/phase1/phase3.cx > > > /cygdrive/m/users/qasoft/tmp/bug/phase3/p123.cx > > > /cygdrive/m/users/qasoft/tmp/bug/phase3/phase3.cx > > > ======================== > > > > Bizarre. WFM: > > > > ------------------------------------------- > > dk AT mace /tmp> cat Makefile > > > > WORKSPACE=$(shell pwd) > > > > test: > > @echo $(wildcard $(WORKSPACE)/ph*/*.cx) > > > > dk AT mace /tmp> ls -lartR > > .: > > total 1 > > drwxrwx---+ 16 artimius Users 0 Apr 28 16:15 .. > > drwxr-xr-x+ 2 dk Domain U 0 May 13 10:12 phase3 > > drwxrwxrwx+ 4 artimius Users 0 May 13 10:17 . > > drwxr-xr-x+ 2 dk Domain U 0 May 13 10:18 phase1 > > -rw-r--r-- 1 dk Domain U 83 May 13 10:19 Makefile > > > > ./phase3: > > total 0 > > -rw-r--r-- 1 dk Domain U 0 May 13 10:11 p123.cx > > -rw-r--r-- 1 dk Domain U 0 May 13 10:11 p123.hx > > -rw-r--r-- 1 dk Domain U 0 May 13 10:12 phase3.cx > > -rw-r--r-- 1 dk Domain U 0 May 13 10:12 phase3.hx > > drwxr-xr-x+ 2 dk Domain U 0 May 13 10:12 . > > drwxrwxrwx+ 4 artimius Users 0 May 13 10:17 .. > > > > ./phase1: > > total 0 > > -rw-r--r-- 1 dk Domain U 0 May 13 10:11 main.cx > > -rw-r--r-- 1 dk Domain U 0 May 13 10:11 phase1.hx > > drwxrwxrwx+ 4 artimius Users 0 May 13 10:17 .. > > drwxr-xr-x+ 2 dk Domain U 0 May 13 10:18 . > > dk AT mace /tmp> make > > /tmp/phase1/main.cx /tmp/phase3/p123.cx /tmp/phase3/phase3.cx > > dk AT mace /tmp> > > ------------------------------------------- > > > > So, can't reproduce it here. Please do verify that your directory > > contents actually are what you think they are, and that they > > haven't somehow > > become inadvertently crosslinked or duplicated or something. > > __________________________________ Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' http://movies.yahoo.com/showtimes/movie?mid=1808405861 -- 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 |