diff options
author | Jonny Grant <jg@jguk.org> | 2014-07-12 12:53:59 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-07-12 12:53:59 +0300 |
commit | a8c3c6d83cbb988793141d8b28e137a284b6c2a9 (patch) | |
tree | 96aff10d7af1ce4492201c9c00ad4ede9412357f | |
parent | 2ede2227a9e7403efef88bc55ce21f4ae83fb711 (diff) | |
download | make-a8c3c6d83cbb988793141d8b28e137a284b6c2a9.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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |