Re: RE: RE: MAKE - problem with small/capital letters in filenames
Hi! If the options to allow case-insensitive globbing are present, all you have to do is turn them on (using the MAKEFLAGS environment variable for make, and the appropriate .*rc file for the shell, IIRC). I see. I'll try to find this option. If these options are not available, there are still a few ways to fix this. One is modifying your makefile to include both %.d and %.D as targets *every time* you need globbing. Doesn't work. HELLO.D generated, but 'no rule ot make target hello.d'. Another is keeping files on a local drive and using either rsync or cvs to synchronize it with the network drive If nothing else work I'll try this. Thanks 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/
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/