blob: 9f03754962f02f81cf35cc4545650c8427f01683 [file] [log] [blame]
Brian Paula70ad912004-03-26 15:16:35 +00001# Configuration for Linux for 64-bit X86 (Opteron)
2
3include $(TOP)/configs/default
4
5CONFIG_NAME = linux-x86-64
6
7# Compiler and flags
8CC = gcc
9CXX = g++
10
Eric Anholtbaa832d2005-02-14 06:57:27 +000011CFLAGS = -m64 -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
Brian Paula70ad912004-03-26 15:16:35 +000012
Eric Anholtbaa832d2005-02-14 06:57:27 +000013CXXFLAGS = -m64 -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
Brian Paula70ad912004-03-26 15:16:35 +000014
15GLUT_CFLAGS = -fexceptions
16
17
Keith Whitwell69ab4fe2004-04-30 08:29:04 +000018#ASM_SOURCES = $(X86_SOURCES)
Brian Paula70ad912004-03-26 15:16:35 +000019
20
21LIB_DIR = $(TOP)/lib64
22
23
24# Library/program dependencies
25GL_LIB_DEPS = -L/usr/X11R6/lib64 -lX11 -lXext -lm -lpthread
Brian Pauld84f0932004-09-13 21:04:48 +000026GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib64 -lX11 -lXmu -lXt -lXi -lm
27GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib64 -lXt -lX11
28APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm