android-project/app/jni/src/Android.mk
changeset 11647 5816b27073a4
parent 11429 424d7476f72d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/android-project/app/jni/src/Android.mk	Mon Oct 23 15:23:43 2017 -0700
     1.3 @@ -0,0 +1,18 @@
     1.4 +LOCAL_PATH := $(call my-dir)
     1.5 +
     1.6 +include $(CLEAR_VARS)
     1.7 +
     1.8 +LOCAL_MODULE := main
     1.9 +
    1.10 +SDL_PATH := ../SDL
    1.11 +
    1.12 +LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include
    1.13 +
    1.14 +# Add your application source files here...
    1.15 +LOCAL_SRC_FILES := YourSourceHere.c
    1.16 +
    1.17 +LOCAL_SHARED_LIBRARIES := SDL2
    1.18 +
    1.19 +LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
    1.20 +
    1.21 +include $(BUILD_SHARED_LIBRARY)