delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/07/00:03:44

Date: Mon, 7 Apr 2003 00:03:22 -0400 (EDT)
From: Anton Lavrentiev <lavr AT ncbi DOT nlm DOT nih DOT gov>
Message-Id: <200304070403.h3743MW25915@pavo.ncbi.nlm.nih.gov>
To: djgpp AT delorie DOT com
Subject: make says no makefile found, but the file is out there
X-Virus-Scanned: by amavisd-milter ( http://amavis.org/ )

Hi all,

I'm trying to revive parts of the project that was done
a long ago using DJGPP v1 under DOS, and I have an old
makefile [which is a DOS file, thus it's really
MAKEFILE]. When I start "make" from the recent
DJGPP v2/GNU distribution [it's mak3791], it prints
a message saying no target/makefile found. Why?
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. I looked thru FAQs and there is a statement
that make should work correctly with both long mixed-cased
Windows and old 8.3 uppercased DOS names, but apparently it
doesn't. Is there any recipies except rewriting makefiles and
lowercasing their names?

Thanks,
Anton Lavrentiev

- Raw text -


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