Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 1 | # Configuration for Linux on PPC |
| 2 | |
| 3 | include $(TOP)/configs/default |
| 4 | |
| 5 | CONFIG_NAME = linux-ppc |
| 6 | |
| 7 | # Compiler and flags |
| 8 | CC = gcc |
| 9 | CXX = g++ |
| 10 | CFLAGS = -O3 -mcpu=603 -ansi -pedantic -fPIC -fsigned-char -ffast-math -funroll-loops -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM |
| 11 | CXXFLAGS = -O3 -mcpu=603 -ansi -pedantic -fPIC -fsigned-char -ffast-math -funroll-loops -D_SVID_SOURCE -D_BSD_SOURCE |
| 12 | GLUT_CFLAGS = -fexceptions |
| 13 | |
| 14 | GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread |
| 15 | GLU_LIB_DEPS = -L$(LIB_DIR) -lGL -lm |
| 16 | GLUT_LIB_DEPS = -L$(LIB_DIR) -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm |
| 17 | GLW_LIB_DEPS = -L$(LIB_DIR) -lGL -L/usr/X11R6/lib -lXt -lX11 |
| 18 | APP_LIB_DEPS = -L$(LIB_DIR) -lglut -lGLU -lGL -lm |
| 19 | |