android-project/jni/src/Android.mk
changeset 4965 91d0085b7560
child 6288 1204ff03a0c1
equal deleted inserted replaced
4964:6c645018741e 4965:91d0085b7560
       
     1 LOCAL_PATH := $(call my-dir)
       
     2 
       
     3 include $(CLEAR_VARS)
       
     4 
       
     5 LOCAL_MODULE := main
       
     6 
       
     7 SDL_PATH := ../SDL
       
     8 
       
     9 LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include
       
    10 
       
    11 # Add your application source files here...
       
    12 LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.cpp \
       
    13 	YourSourceHere.c
       
    14 
       
    15 LOCAL_SHARED_LIBRARIES := SDL
       
    16 
       
    17 LOCAL_LDLIBS := -lGLESv1_CM -llog
       
    18 
       
    19 include $(BUILD_SHARED_LIBRARY)