summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2014-08-30 10:40:12 +0300
committerEli Zaretskii <eliz@gnu.org>2014-08-30 10:40:12 +0300
commitab1210b1fe55d4586265ea4f72e6b5ac3fb2630d (patch)
tree772bf5fa38c689fe7bc4a0bd73abb1134f5acc1e
parent241787d8e4e0aa8b266ed4dd17b55c4def92981d (diff)
downloadgunmake-ab1210b1fe55d4586265ea4f72e6b5ac3fb2630d.tar.gz
Fix regression with "makefile" not being found on MS-Windows.
* read.c (read_all_makefiles) [WINDOWS32]: Recognize "makefile", all-lowercase, as a makefile. Reported by Michael Waeber <waeber@gmail.com>.
-rw-r--r--read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read.c b/read.c
index 6ac66f4..bbb6e2a 100644
--- a/read.c
+++ b/read.c
@@ -247,7 +247,7 @@ read_all_makefiles (const char **makefiles)
{ "GNUmakefile", "Makefile", "SMakefile", 0 };
#else /* !Amiga && !VMS */
#ifdef WINDOWS32
- { "GNUmakefile", "Makefile", "makefile.mak", 0 };
+ { "GNUmakefile", "Makefile", "makefile", "makefile.mak", 0 };
#else /* !Amiga && !VMS && !WINDOWS32 */
{ "GNUmakefile", "makefile", "Makefile", 0 };
#endif /* !Amiga && !VMS && !WINDOWS32 */