From: "Rolan Christofferson" <rolan@creativecorp.com>
To: <cygwin@cygwin.com>
Subject: wildcard in make exhibits strange behavior
Date: Wed, 17 Sep 2003 20:59:00 -0000 [thread overview]
Message-ID: <ONEBKKICLJAMJBFJLCHPCEGOCAAA.rolan@creativecorp.com> (raw)
Windows 2000
cygwin 1.5.4
make 3.80-1
Makefile
all:
@echo $(wildcard */*.java)
directory structure
a/a1.java
a/a2.java
a/a3.java
b/b1.java
When I enter the command make, I get the output
a/b1.java b/b1.java
If I rename the directory b to c, I get the output
a/a1.java a/a2.java a/a3.java c/b1.java
(correct behavior)
Now rename a to b, and then c to a.
The directory structure is now
a/b1.java
b/a1.java
b/a2.java
b/a3.java
Now when I run make, I get
a/a1.java a/a2.java a/a3.java b/a1.java b/a2.java b/a3.java
Put things back the way they started, and add the directory c:
c/c1.java
c/c2.java
I run make and I get
a/b1.java b/b1.java c/c1.java c/c2.java
Neat, huh?
It looks like there is something special about the directory names
a and b, but not c.
Rolan Christofferson
Senior Consultant
CCC
1380 Forest Park Circle
Lafayette, Colorado, 80026
Phone: 303-627-6509
www.creativecorp.com
--
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/
reply other threads:[~2003-09-17 20:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ONEBKKICLJAMJBFJLCHPCEGOCAAA.rolan@creativecorp.com \
--to=rolan@creativecorp.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).