summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Grant <jg@jguk.org>2014-07-12 12:53:59 +0300
committerEli Zaretskii <eliz@gnu.org>2014-07-12 12:53:59 +0300
commitcab353d1dd4dc98d322db4f698f3a20c2e6ffd5e (patch)
tree96aff10d7af1ce4492201c9c00ad4ede9412357f
parent8b01e6bebff11b242549a0b48456a17772099d71 (diff)
downloadgunmake-cab353d1dd4dc98d322db4f698f3a20c2e6ffd5e.tar.gz
Fix defalt_makefiles[] for MS-Windows.
* read.c (read_all_makefiles) [WINDOWS32]: Remove the redundant "makefile" and add "makefile.mak". Copyright-paperwork-exempt: yes
-rw-r--r--read.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/read.c b/read.c
index fe33ab2..6ac66f4 100644
--- a/read.c
+++ b/read.c
@@ -246,7 +246,11 @@ read_all_makefiles (const char **makefiles)
#ifdef _AMIGA
{ "GNUmakefile", "Makefile", "SMakefile", 0 };
#else /* !Amiga && !VMS */
+#ifdef WINDOWS32
+ { "GNUmakefile", "Makefile", "makefile.mak", 0 };
+#else /* !Amiga && !VMS && !WINDOWS32 */
{ "GNUmakefile", "makefile", "Makefile", 0 };
+#endif /* !Amiga && !VMS && !WINDOWS32 */
#endif /* AMIGA */
#endif /* VMS */
const char **p = default_makefiles;