From: richardson AT evansville DOT edu (Tony Richardson) Newsgroups: comp.os.msdos.djgpp Subject: Re: make says no makefile found, but the file is out there Date: 8 Apr 2003 05:58:27 -0700 Organization: http://groups.google.com/ Lines: 19 Message-ID: <2f64dfca.0304080458.6768f9a4@posting.google.com> References: <200304070403 DOT h3743MW25915 AT pavo DOT ncbi DOT nlm DOT nih DOT gov> NNTP-Posting-Host: 192.195.225.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1049806708 20732 127.0.0.1 (8 Apr 2003 12:58:28 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 8 Apr 2003 12:58:28 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hans-Bernhard Broeker wrote in message news:... > Anton Lavrentiev wrote: > > > I renamed MAKEFILE into "makefile" all lowercase, > > then it reads the file. But there is another problem: > > %.o: %.c rule is not working because there are > > DOS files around, all having ".C" extensions, > > uppercased. > > This should *never* be a problem. Neither DOS nor Windows really care > about the case of filenames. DJGPP has a runtime library setting that > changes this, but I strongly disbelieve any distributed DJGPP binary has > that set. I've had the same "problem" with DJGPP make. Files with a .C extension are assumed to be C++ files instead of C files. Either rename the file or redefine the .o .C rule. Tony Richardson