added directives for intel compilers

This commit is contained in:
Don BURNS
2003-03-05 19:31:55 +00:00
parent 6bfc06dc0e
commit 9bd3d0cd06

View File

@@ -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