From cab353d1dd4dc98d322db4f698f3a20c2e6ffd5e Mon Sep 17 00:00:00 2001 From: Jonny Grant Date: Sat, 12 Jul 2014 12:53:59 +0300 Subject: [PATCH] Fix defalt_makefiles[] for MS-Windows. * read.c (read_all_makefiles) [WINDOWS32]: Remove the redundant "makefile" and add "makefile.mak". Copyright-paperwork-exempt: yes --- read.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/read.c b/read.c index fe33ab29..6ac66f4f 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;