2010-12-06 09:51:21 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
2012-02-07 14:34:30 +08:00
|
|
|
|
2012-05-02 12:00:39 +08:00
|
|
|
LOCAL_MODULE := chipmunk_static
|
2012-02-07 14:34:30 +08:00
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := libchipmunk
|
2010-12-06 09:51:21 +08:00
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
2010-12-14 09:42:39 +08:00
|
|
|
src/chipmunk.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 \
|
|
|
|
src/cpArbiter.c \
|
|
|
|
src/cpArray.c \
|
|
|
|
src/cpBB.c \
|
2012-03-21 22:49:58 +08:00
|
|
|
src/cpBBTree.c \
|
2010-12-14 09:42:39 +08:00
|
|
|
src/cpBody.c \
|
|
|
|
src/cpCollision.c \
|
|
|
|
src/cpHashSet.c \
|
|
|
|
src/cpPolyShape.c \
|
|
|
|
src/cpShape.c \
|
|
|
|
src/cpSpace.c \
|
2011-05-21 14:58:22 +08:00
|
|
|
src/cpSpaceComponent.c \
|
2010-12-14 09:42:39 +08:00
|
|
|
src/cpSpaceHash.c \
|
2011-05-21 14:58:22 +08:00
|
|
|
src/cpSpaceQuery.c \
|
|
|
|
src/cpSpaceStep.c \
|
2012-03-21 22:49:58 +08:00
|
|
|
src/cpSpatialIndex.c \
|
|
|
|
src/cpSweep1D.c \
|
2010-12-14 09:42:39 +08:00
|
|
|
src/cpVect.c
|
2010-12-06 09:51:21 +08:00
|
|
|
|
2012-02-07 14:34:30 +08:00
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include/chipmunk
|
|
|
|
|
2010-12-06 09:51:21 +08:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/chipmunk
|
|
|
|
LOCAL_CFLAGS := -std=c99
|
|
|
|
|
2012-05-02 12:00:39 +08:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|