android-project/jni/src/Android.mk
author Sam Lantinga <slouken@libsdl.org>
Mon, 09 Jan 2012 21:11:11 -0500
changeset 6205 7dd8ea9f282d
parent 4965 91d0085b7560
child 6288 1204ff03a0c1
permissions -rw-r--r--
Fixed bug 1366 - SDL_opengles2.h is not installed in "include/SDL" under Linux
     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)