Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 1 | # Configuration for Ultrix, with gcc |
| 2 | |
| 3 | include $(TOP)/configs/default |
| 4 | |
| 5 | CONFIG_NAME = ultrix-gcc |
| 6 | |
| 7 | # Compiler and flags |
| 8 | CC = gcc |
| 9 | CXX = g++ |
| 10 | CFLAGS = -pedantic -O2 |
| 11 | CXXFLAGS = -pedantic -O2 |
| 12 | GLUT_CFLAGS = -fexceptions |
| 13 | MKLIB_OPTIONS = -static |
| 14 | |
Dan Nicholson | 01b18ab | 2007-11-01 06:01:53 -0700 | [diff] [blame] | 15 | # Work around aliasing bugs - developers should comment this out |
| 16 | CFLAGS += -fno-strict-aliasing |
| 17 | CXXFLAGS += -fno-strict-aliasing |
| 18 | |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 19 | GL_LIB_NAME = libGL.a |
| 20 | GLU_LIB_NAME = libGLU.a |
| 21 | GLUT_LIB_NAME = libglut.a |
| 22 | GLW_LIB_NAME = libGLw.a |
| 23 | OSMESA_LIB_NAME = libOSMesa.a |
| 24 | |
Brian Paul | 883f989 | 2006-07-13 02:50:27 +0000 | [diff] [blame] | 25 | APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXmu -lX11 -lXi -lm |