wildcard in Makefile giving wrong output
Nitin Gupta
nitin.gupta@equator.com
Wed May 12 18:03:00 GMT 2004
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/
More information about the Cygwin
mailing list