blob: 478947864bf3940e18054ac80c3a92044b8bf3be [file] [log] [blame]
Brian Paula70ad912004-03-26 15:16:35 +00001# Configuration for generic Linux
2
3include $(TOP)/configs/default
4
5CONFIG_NAME = linux
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
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
15
16# Library/program dependencies
Brian Pauld84f0932004-09-13 21:04:48 +000017# Need to have -L/usr/X11R6/lib in these:
Brian Paula70ad912004-03-26 15:16:35 +000018GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
Brian Pauld84f0932004-09-13 21:04:48 +000019GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
20GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11