This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]