Use floats instead of doubles for Chipmunk.

This commit is contained in:
James Gregory 2013-04-29 20:54:36 -07:00
parent de9df010c3
commit 2b8efda0f4
1 changed files with 2 additions and 2 deletions

View File

@ -42,14 +42,14 @@ INCLUDES += -I$(COCOS_SRC)/platform/third_party/linux
ifeq ($(DEBUG), 1) ifeq ($(DEBUG), 1)
CCFLAGS += -g -O0 -s ASSERTIONS=1 -s SAFE_HEAP=1 --jcache CCFLAGS += -g -O0 -s ASSERTIONS=1 -s SAFE_HEAP=1 --jcache
CXXFLAGS += -g -O0 -s ASSERTIONS=1 -s SAFE_HEAP=1 --jcache CXXFLAGS += -g -O0 -s ASSERTIONS=1 -s SAFE_HEAP=1 --jcache
DEFINES += -D_DEBUG -DCOCOS2D_DEBUG=1 DEFINES += -D_DEBUG -DCOCOS2D_DEBUG=1 -DCP_USE_DOUBLES=0
OBJ_DIR := $(OBJ_DIR)/debug OBJ_DIR := $(OBJ_DIR)/debug
LIB_DIR := $(LIB_DIR)/debug LIB_DIR := $(LIB_DIR)/debug
BIN_DIR := $(BIN_DIR)/debug BIN_DIR := $(BIN_DIR)/debug
else else
CCFLAGS += -O1 --jcache CCFLAGS += -O1 --jcache
CXXFLAGS += -O1 --jcache CXXFLAGS += -O1 --jcache
DEFINES += -DNDEBUG DEFINES += -DNDEBUG -DCP_USE_DOUBLES=0
OBJ_DIR := $(OBJ_DIR)/release OBJ_DIR := $(OBJ_DIR)/release
LIB_DIR := $(LIB_DIR)/release LIB_DIR := $(LIB_DIR)/release
BIN_DIR := $(BIN_DIR)/release BIN_DIR := $(BIN_DIR)/release