Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 1 | # Configuration for debugging on Linux |
| 2 | |
| 3 | include $(TOP)/configs/default |
| 4 | |
| 5 | CONFIG_NAME = linux-debug |
| 6 | |
| 7 | # Compiler and flags |
| 8 | CC = gcc |
| 9 | CXX = g++ |
| 10 | |
| 11 | CFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DDEBUG -DMESA_DEBUG |
| 12 | |
| 13 | CXXFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -DDEBUG -DMESA_DEBUG |
| 14 | |
| 15 | GLUT_CFLAGS = -fexceptions |
Brian Paul | 57dcbb5 | 2004-03-26 15:37:26 +0000 | [diff] [blame] | 16 | |
| 17 | GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread |
| 18 | OSMESA_LIB_DEPS = -L$(LIB_DIR) -lGL |
| 19 | GLU_LIB_DEPS = -L$(LIB_DIR) -lGL -lm |
| 20 | GLUT_LIB_DEPS = -L$(LIB_DIR) -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm |
| 21 | GLW_LIB_DEPS = -L$(LIB_DIR) -lGL -lXt -L/usr/X11R6/lib -lXm -lX11 |
| 22 | APP_LIB_DEPS = -L$(LIB_DIR) -lglut -lGLU -lGL -lm |