4b18fb6bcdc06f34cd8df880d3eb7994fa152892
[blender-staging.git] / extern / ode / dist / config / makefile.mingw
1 WINDOWS=1
2 THIS_DIR=
3 DEL_CMD=tools\rm
4 CC=gcc
5 OBJ=.o
6 C_FLAGS=-c -Wall -fno-exceptions -fno-rtti -DWIN32
7 C_INC=-I
8 C_OUT=-o 
9 C_EXEOUT=-o 
10 C_DEF=-D
11 C_OPT=-O
12 AR=ar rc 
13 RANLIB=
14 LIB_PREFIX=lib
15 LIB_SUFFIX=.a
16 LINK_OPENGL=-lComctl32 -lkernel32 -luser32 -lgdi32 -lOpenGL32 -lGlu32
17 LINK_MATH=-lm
18 RC_RULE=windres -I rc -O coff $< $@
19
20 ifeq ($(BUILD),release)
21 OPT=2
22 C_FLAGS+=-fomit-frame-pointer -ffast-math
23 endif
24
25 ifeq ($(BUILD),debug)
26 OPT=0
27 C_FLAGS+=-g
28 endif