forked from bartvdbraak/blender
c21d639735
Checked against a fresh version from the ODE CVS and found that the problem was not fixed there as well so I felt free to commit it here. Maarten (mail@maartengribnau.com)
27 lines
454 B
Plaintext
27 lines
454 B
Plaintext
THIS_DIR=./
|
|
DEL_CMD=rm -f
|
|
CC=cc
|
|
OBJ=.o
|
|
C_FLAGS=-c -Wall -fno-rtti -fno-exceptions -Wall -I/usr/X11R6/include
|
|
C_INC=-I
|
|
C_OUT=-o
|
|
C_EXEOUT=-o
|
|
C_DEF=-D
|
|
C_OPT=-O
|
|
AR=ar rc
|
|
RANLIB=ranlib
|
|
LIB_PREFIX=lib
|
|
LIB_SUFFIX=.a
|
|
LINK_OPENGL=-L/usr/X11R6/lib -L/usr/X11/lib -L/usr/lib/X11R6 -L/usr/lib/X11 -lX11 -lGL -lGLU -lstdc++
|
|
LINK_MATH=-lm
|
|
|
|
ifeq ($(BUILD),release)
|
|
OPT=2
|
|
C_FLAGS+=-fomit-frame-pointer -ffast-math
|
|
endif
|
|
|
|
ifeq ($(BUILD),debug)
|
|
OPT=0
|
|
C_FLAGS+=-g
|
|
endif
|