This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
MAKE - problem with small/capital letters in filenames
- From: Graff_Zoltan <zotyo at z1 dot fszek dot hu>
- To: cygwin at cygwin dot com
- Date: Tue, 29 Oct 2002 12:04:38 +0100
- Subject: MAKE - problem with small/capital letters in filenames
Hi!
I've got a simple makefile. It works well under DOS (with DJGPP) and
under Linux (Debian Woody). But it does not work under Cygwin.
The message: no rule to make 'hello.d'
The makefile:
all:
$(CC) $(CFLAGS) hello.c -o hello.exe
include hello.d
%.d: %.c
@ $(CC) -MM $(CFLAGS) $< > $@
It works if I change the
%.d: %.c
line, and write:
hello.d: hello.c
There is a HELLO.C file in the current directory,
with capital letters (because it's a novell network drive in WinXp)
1. On a local driver I can rename HELLO.C to hello.c and
%.d: %.c works well.
2. On the network drive the hello.d: hello.c works (with small letters)
But I need %.d: %.c to works on the network drive.
How Can I do it?
Sorry about my englis :-(
Zoltan Graff
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/