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.
29 lines
453 B
Plaintext
29 lines
453 B
Plaintext
WINDOWS=1
|
|
THIS_DIR=./
|
|
DEL_CMD=rm -f
|
|
CC=gcc
|
|
OBJ=.o
|
|
C_FLAGS=-c -Wall -fno-exceptions -fno-rtti -DWIN32 -DCYGWIN
|
|
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=-lComctl32 -lkernel32 -luser32 -lgdi32 -lOpenGL32 -lGlu32
|
|
LINK_MATH=-lm
|
|
RC_RULE=windres -I rc -O coff $< $@
|
|
|
|
ifeq ($(BUILD),release)
|
|
OPT=2
|
|
C_FLAGS+=-fomit-frame-pointer -ffast-math
|
|
endif
|
|
|
|
ifeq ($(BUILD),debug)
|
|
OPT=0
|
|
C_FLAGS+=-g
|
|
endif
|