2012-05-29 16:21:23 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := chipmunk_static
|
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := libchipmunk
|
|
|
|
|
2013-08-22 17:47:49 +08:00
|
|
|
LOCAL_SRC_FILES := \
|
2013-10-18 14:18:36 +08:00
|
|
|
src/chipmunk.c \
|
|
|
|
src/cpArbiter.c \
|
|
|
|
src/cpArray.c \
|
|
|
|
src/cpBB.c \
|
|
|
|
src/cpBBTree.c \
|
|
|
|
src/cpBody.c \
|
|
|
|
src/cpCollision.c \
|
|
|
|
src/cpHashSet.c \
|
|
|
|
src/cpPolyShape.c \
|
|
|
|
src/cpShape.c \
|
|
|
|
src/cpSpace.c \
|
|
|
|
src/cpSpaceComponent.c \
|
|
|
|
src/cpSpaceHash.c \
|
|
|
|
src/cpSpaceQuery.c \
|
|
|
|
src/cpSpaceStep.c \
|
|
|
|
src/cpSpatialIndex.c \
|
|
|
|
src/cpSweep1D.c \
|
|
|
|
src/cpVect.c \
|
|
|
|
src/constraints/cpConstraint.c \
|
|
|
|
src/constraints/cpDampedRotarySpring.c \
|
|
|
|
src/constraints/cpDampedSpring.c \
|
|
|
|
src/constraints/cpGearJoint.c \
|
|
|
|
src/constraints/cpGrooveJoint.c \
|
|
|
|
src/constraints/cpPinJoint.c \
|
|
|
|
src/constraints/cpPivotJoint.c \
|
|
|
|
src/constraints/cpRatchetJoint.c \
|
|
|
|
src/constraints/cpRotaryLimitJoint.c \
|
|
|
|
src/constraints/cpSimpleMotor.c \
|
|
|
|
src/constraints/cpSlideJoint.c
|
2012-05-29 16:21:23 +08:00
|
|
|
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include/chipmunk
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/chipmunk
|
|
|
|
LOCAL_CFLAGS := -std=c99
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|