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
========================