delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/07/11:30:06

From: Manni Heumann <manni DOT heumann AT gmx DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: make says no makefile found, but the file is out there
Date: 7 Apr 2003 15:21:50 GMT
Lines: 28
Message-ID: <b6s52e$8atvb$1@ID-54749.news.dfncis.de>
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: ws-whartje.dhcp.uni-bielefeld.de (129.70.100.182)
X-Trace: fu-berlin.de 1049728910 8746987 129.70.100.182 (16 1428 [54749])
User-Agent: Xnews/5.04.25
X-Face: "c)Go+A65AgR*9'!B)BMLM$kYg6HDG!_g'DAsj*ALo%=kp{X&abs&t\G0F~*r?VRj#|4=6)M.RJPnD]Ql:B<-7A^EAYFpDpZRMoJy?80^3B3b AT DXb%MTyOD.*4wu&Xt6o*+6`r5E
X-Converter: MorVer Version 1.0.305
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:

> This should *never* be a problem.  Neither DOS nor Windows
> really care about the case of filenames.

Interesting! I encountered this long ago and thought it would be yet 
another step in compatibility and portability.

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.


Manni

- Raw text -


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