forked from bartvdbraak/blender
bdad961ce3
development of ode at http://q12.org and periodically copy the q12.org ODE sourcecode into this tree to update the Blender ODE. This ODE has not been changed from q12.org and is provided here merely as a convenience to Blender developers.
30 lines
499 B
Plaintext
30 lines
499 B
Plaintext
THIS_DIR=./
|
|
DEL_CMD=rm -f
|
|
CC=gcc
|
|
OBJ=.o
|
|
C_FLAGS=-c -Wall -fno-rtti -fno-exceptions -Wall
|
|
C_INC=-I
|
|
C_OUT=-o
|
|
C_EXEOUT=-o
|
|
C_DEF=-D
|
|
C_OPT=-O
|
|
AR=ar rc
|
|
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
|
|
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
|
|
|
|
# some other possible flags:
|
|
# -malign-double -mpentiumpro -march=pentiumpro
|