Date: Tue, 08 Apr 2003 06:12:58 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: manni DOT heumann AT gmx DOT de Message-Id: <9743-Tue08Apr2003061258+0300-eliz@elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: (message from Manni Heumann on 7 Apr 2003 15:21:50 GMT) Subject: Re: make says no makefile found, but the file is out there References: <200304070403 DOT h3743MW25915 AT pavo DOT ncbi DOT nlm DOT nih DOT gov> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Manni Heumann > Newsgroups: comp.os.msdos.djgpp > Date: 7 Apr 2003 15:21:50 GMT > > I just renamed "makefile" from one of my projects to "MAKEFILE": > make.exe: *** No targets specified and no makefile found. Stop. > > make -v > GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. > Built for i386-pc-msdosdjgpp > > > Next, I changed the name of the makefile back and changed the file > names from *.c to *.C and make would complain about missing rules for > its targets. > > Changed everything back to lowercase and the makefile would work > perfectly. > > This is on W2k SP3, but IIRC I noticed the same behavior running > Win98SE. I think this is because W2K's implementation of the LFN API sucks big time (and the same for XP). IIRC, one of those bugs prevented automatic downcasing of 8+3 file names, such as MAKEFILE. You should build Make with a patched DJGPP library (or get a prebuilt version from Charles W2K Sandmann's page), to have that fixed.