From 4068c5e4a3eb0f47ec3cb4ee4fad5dd2edb9de6f Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 24 Mar 2003 23:14:15 +0000 Subject: Add support for OS/2, contributed by Andreas Buening Also a small patch from Hartmut Becker for VMS. --- default.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'default.c') diff --git a/default.c b/default.c index 5b9d62d..d262a30 100644 --- a/default.c +++ b/default.c @@ -27,8 +27,8 @@ Boston, MA 02111-1307, USA. */ /* Define GCC_IS_NATIVE if gcc is the native development environment on your system (gcc/bison/flex vs cc/yacc/lex). */ -#ifdef __MSDOS__ -#define GCC_IS_NATIVE +#if defined(__MSDOS__) || defined(__EMX__) +# define GCC_IS_NATIVE #endif @@ -41,6 +41,10 @@ static char default_suffixes[] = ".exe .olb .ln .obj .c .cxx .cc .pas .p .for .f .r .y .l .mar \ .s .ss .i .ii .mod .sym .def .h .info .dvi .tex .texinfo .texi .txinfo \ .w .ch .cweb .web .com .sh .elc .el"; +#elif defined(__EMX__) + = ".out .a .ln .o .c .cc .C .cpp .p .f .F .r .y .l .s .S \ +.mod .sym .def .h .info .dvi .tex .texinfo .texi .txinfo \ +.w .ch .web .sh .elc .el .obj .exe .dll .lib"; #else = ".out .a .ln .o .c .cc .C .cpp .p .f .F .r .y .l .s .S \ .mod .sym .def .h .info .dvi .tex .texinfo .texi .txinfo \ @@ -153,6 +157,8 @@ static char *default_suffix_rules[] = "$(COMPILE.cc)/noprep/noobj/machine /list=$@ $<", ".cc.obj", "$(COMPILE.cc) /obj=$@ $<", + ".cxx.obj", + "$(COMPILE.cxx) /obj=$@ $<", ".for.obj", "$(COMPILE.for) /obj=$@ $<", ".pas.obj", -- cgit v1.2.3