android-project/jni/src/Android_static.mk
changeset 7804 1f85fb33694b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/android-project/jni/src/Android_static.mk	Thu Oct 10 21:51:39 2013 -0700
@@ -0,0 +1,12 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := main
+
+LOCAL_SRC_FILES := YourSourceHere.c
+
+LOCAL_STATIC_LIBRARIES := SDL2_static
+
+include $(BUILD_SHARED_LIBRARY)
+$(call import-module,SDL)LOCAL_PATH := $(call my-dir)