Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 1 | # Configuration for Linux for 64-bit X86 (Opteron) |
| 2 | |
| 3 | include $(TOP)/configs/default |
| 4 | |
| 5 | CONFIG_NAME = linux-x86-64 |
| 6 | |
| 7 | # Compiler and flags |
| 8 | CC = gcc |
| 9 | CXX = g++ |
| 10 | |
Keith Whitwell | 69ab4fe | 2004-04-30 08:29:04 +0000 | [diff] [blame] | 11 | CFLAGS = -m64 -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -D__AMD64__ -I/usr/X11R6/include |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 12 | |
Keith Whitwell | 69ab4fe | 2004-04-30 08:29:04 +0000 | [diff] [blame] | 13 | CXXFLAGS = -m64 -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D__AMD64__ |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 14 | |
| 15 | GLUT_CFLAGS = -fexceptions |
| 16 | |
| 17 | |
Keith Whitwell | 69ab4fe | 2004-04-30 08:29:04 +0000 | [diff] [blame] | 18 | #ASM_SOURCES = $(X86_SOURCES) |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 19 | |
| 20 | |
| 21 | LIB_DIR = $(TOP)/lib64 |
| 22 | |
| 23 | |
| 24 | # Library/program dependencies |
| 25 | GL_LIB_DEPS = -L/usr/X11R6/lib64 -lX11 -lXext -lm -lpthread |
Brian Paul | d84f093 | 2004-09-13 21:04:48 +0000 | [diff] [blame^] | 26 | GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib64 -lX11 -lXmu -lXt -lXi -lm |
| 27 | GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib64 -lXt -lX11 |
| 28 | APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm |