Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame^] | 1 | # Configuration for Linux with x86 optimizations, static libs |
| 2 | |
| 3 | include $(TOP)/configs/default |
| 4 | |
| 5 | CONFIG_NAME = linux-x86-static |
| 6 | |
| 7 | # Compiler and flags |
| 8 | CC = gcc |
| 9 | CXX = g++ |
| 10 | |
| 11 | CFLAGS = -Wall -O3 -ansi -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include |
| 12 | |
| 13 | CXXFLAGS = -Wall -O3 -ansi -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE |
| 14 | |
| 15 | GLUT_CFLAGS = -fexceptions |
| 16 | |
| 17 | MKLIB_OPTIONS = -static |
| 18 | |
| 19 | |
| 20 | # Library names (actual file names) |
| 21 | GL_LIB_NAME = libGL.a |
| 22 | GLU_LIB_NAME = libGLU.a |
| 23 | GLUT_LIB_NAME = libglut.a |
| 24 | GLW_LIB_NAME = libGLw.a |
| 25 | OSMESA_LIB_NAME = libOSMesa.a |
| 26 | |
| 27 | |
| 28 | ASM_SOURCES = $(X86_SOURCES) |