android-project/jni/src/Android.mk
author Sam Lantinga
Wed, 03 Oct 2012 13:39:42 -0700
changeset 6544 c03db4864789
parent 6288 1204ff03a0c1
child 7501 b27825bb5879
permissions -rw-r--r--
Use Ctrl modifier for window resize key bindings
     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 := SDL2
    16 
    17 LOCAL_LDLIBS := -lGLESv1_CM -llog
    18 
    19 include $(BUILD_SHARED_LIBRARY)