summaryrefslogtreecommitdiff
path: root/configs/sunos5-gcc
blob: 59fcccf9d64a4fcb1e41d16bd3f46882447287d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Configuration for SunOS 5, with gcc

include $(TOP)/configs/default

CONFIG_NAME = sunos5-gcc

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_XSHM
CXXFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT
GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG

GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm
GLU_LIB_DEPS = -L$(LIB_DIR) -lGL -lm
GLUT_LIB_DEPS = -L$(LIB_DIR) -lGLU -lGL -lm
GLW_LIB_DEPS = -L$(LIB_DIR) -lGL -L/usr/openwin/lib -lXt -lX11
APP_LIB_DEPS = -L$(LIB_DIR) -lX11 -lglut -lGLU -lGL -lm