LOCAL_PATH := $(call my-dir) # compile chipmunk.a include $(CLEAR_VARS) LOCAL_MODULE := libchipmunk LOCAL_SRC_FILES := \ ./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 \ ./src/cpBody.c \ ./src/cpCollision.c \ ./src/cpHashSet.c \ ./src/cpPolyShape.c \ ./src/cpShape.c \ ./src/cpSpace.c \ ./src/cpSpaceHash.c \ ./src/cpVect.c LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/chipmunk LOCAL_CFLAGS := -std=c99 include $(BUILD_SHARED_LIBRARY)