wildcard in Makefile giving wrong output
Nitin Gupta
nitin.gupta@equator.com
Thu May 27 00:29:00 GMT 2004
Looks like that this bug has been fixed. I dont see it anymore.
I suspect that bug showed up only when you try to work on Linux root
filesystem (via samba). Note: /cygdrive/m was infact a Linux root
filesystem.
If I copy over the directory structure on local hard drive, it works fine.
I am seeing similar problem with VPATH (will file a separate bug)
Nitin Gupta wrote:
> 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