delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/08/09:00:10

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> <b6rh7f$fog$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
NNTP-Posting-Host: 192.195.225.6
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 <broeker AT physik DOT rwth-aachen DOT de> wrote in message news:<b6rh7f$fog$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>...
> Anton Lavrentiev <lavr AT ncbi DOT nlm DOT nih DOT gov> 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

- Raw text -


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