comparison android-project/jni/src/Android.mk @ 4965:91d0085b7560

Added the Android project and lots of info to README.android
author Sam Lantinga <slouken@libsdl.org>
date Thu, 06 Jan 2011 17:12:31 -0800
parents
children
comparison
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)