This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

wildcard in Makefile giving wrong output


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]