blob: 455b6932d373345b8b228a9082fa6678ac55e26e [file] [log] [blame]
Brian Paula70ad912004-03-26 15:16:35 +00001# Configuration for Ultrix, with gcc
2
3include $(TOP)/configs/default
4
5CONFIG_NAME = ultrix-gcc
6
7# Compiler and flags
8CC = gcc
9CXX = g++
10CFLAGS = -pedantic -O2
11CXXFLAGS = -pedantic -O2
12GLUT_CFLAGS = -fexceptions
13MKLIB_OPTIONS = -static
14
Dan Nicholson01b18ab2007-11-01 06:01:53 -070015# Work around aliasing bugs - developers should comment this out
16CFLAGS += -fno-strict-aliasing
17CXXFLAGS += -fno-strict-aliasing
18
Brian Paula70ad912004-03-26 15:16:35 +000019GL_LIB_NAME = libGL.a
20GLU_LIB_NAME = libGLU.a
21GLUT_LIB_NAME = libglut.a
22GLW_LIB_NAME = libGLw.a
23OSMESA_LIB_NAME = libOSMesa.a
24
Brian Paul883f9892006-07-13 02:50:27 +000025APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXmu -lX11 -lXi -lm