blob: 31475c81d847da4a012bb0a55e982de083046eeb [file] [log] [blame]
Daniel Borcad3746ca2004-04-07 06:37:50 +00001# Configuration for generic Linux with 3Dfx Glide driver
2
3include $(TOP)/configs/default
4
5CONFIG_NAME = linux-glide
6
7# Compiler and flags
8CC = gcc
9CXX = g++
10
11CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DFX -I/usr/include/glide -I/usr/local/glide/include
12CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
13GLUT_CFLAGS = -fexceptions
14
Dan Nicholson013dbcd2007-10-31 09:47:39 -070015# Work around aliasing bugs - developers should comment this out
16CFLAGS += -fno-strict-aliasing
17CXXFLAGS += -fno-strict-aliasing
Daniel Borcad3746ca2004-04-07 06:37:50 +000018
19# Library/program dependencies
20GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -L/usr/local/glide/lib -lglide3x -lm -lpthread
Brian Paul883f9892006-07-13 02:50:27 +000021GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
22GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11
23APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/local/glide/lib -lglide3x -lm