Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <40A265C1.5020404@equator.com> Date: Wed, 12 May 2004 10:58:25 -0700 From: Nitin Gupta User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: wildcard in Makefile giving wrong output Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cygwin version: 05/12/04 (everything new) CYGWIN_NT-5.1 1.5.9(0.112/4/2) 2004-03-18 23:05 ============= 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 ======================== -- NI+IN -- 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/