From 9bd3d0cd06fff826ce5a57d374a8f40289c431fe Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Wed, 5 Mar 2003 19:31:55 +0000 Subject: [PATCH] added directives for intel compilers --- Make/makedefs | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Make/makedefs b/Make/makedefs index 76b657aa5..e26195307 100644 --- a/Make/makedefs +++ b/Make/makedefs @@ -210,13 +210,25 @@ else endif DEPARG = -M INC += - DEF += -W -Wall +ifeq ($(COMPILER),intel) + C++ = ecc + LIBS = -lgcc_s + DEF += -KPIC + OPTF = -O2 + DBGF = -g -DOSG_COMPILE_UNIT_TESTS +else + LIBS = -lstdc++ + DEF += -W -Wall -fPIC OPTF = -O2 DBGF = -g -gstabs+ -DOSG_COMPILE_UNIT_TESTS +endif + SYSARCH := $(shell arch) +ifeq ($(SYSARCH),ia64) + ARCH = 64 +endif SHARED = -shared ARCHARGS = LINKARGS = -L/usr/X11R6/lib - LIBS = -lstdc++ DYNAMICLIBRARYLIB = -ldl OSG_LIBS = -losgGLUT -losgGA -losgDB -losgUtil -losg FREETYPE_LIB = -lfreetype