blob: 745ffb51c3b678eccd6f79638c53e95b9f8e1cf0 [file] [log] [blame]
Brian Paula70ad912004-03-26 15:16:35 +00001# Configuration for Linux with x86 optimizations, static libs
2
3include $(TOP)/configs/default
4
5CONFIG_NAME = linux-x86-static
6
7# Compiler and flags
8CC = gcc
9CXX = g++
10
11CFLAGS = -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
13CXXFLAGS = -Wall -O3 -ansi -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
14
15GLUT_CFLAGS = -fexceptions
16
17MKLIB_OPTIONS = -static
18
19
20# Library names (actual file names)
21GL_LIB_NAME = libGL.a
22GLU_LIB_NAME = libGLU.a
23GLUT_LIB_NAME = libglut.a
24GLW_LIB_NAME = libGLw.a
25OSMESA_LIB_NAME = libOSMesa.a
26
27
28ASM_SOURCES = $(X86_SOURCES)