delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/15/00:30:01

From: stanton AT haas DOT berkeley DOT edu (Richard Stanton)
Subject: How to avoid GNU make case sensitivity?
15 Aug 1997 00:30:01 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199708142220.PAA11975.cygnus.gnu-win32@haas.berkeley.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I have lots of C files on a FAT (DOS style) formatted disk. Now I'm
running NT, and when I try to use GNU make to compile stuff, it
doesn't recognize the files' existence, since NT thinks all the
filenames are upper case. For example, if I type

make test.o

I get an error message about not having a rule to make test.o, when a
directory listing shows the file TEST.C existing on the
drive. Renaming it manually to test.c allows me to compile it OK, but
I'd rather avoid manually renaming every .C file on my system one at a
time.

Is there a way to tell GNU make to ignore case?

Richard Stanton

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019