android-project/jni/src/Android.mk
author Sam Lantinga <slouken@libsdl.org>
Tue, 14 Feb 2012 20:54:44 -0500
changeset 6288 1204ff03a0c1
parent 4965 91d0085b7560
child 7501 b27825bb5879
permissions -rw-r--r--
Quick android Makefile fix from Gabriel Jacobo
slouken@4965
     1
LOCAL_PATH := $(call my-dir)
slouken@4965
     2
slouken@4965
     3
include $(CLEAR_VARS)
slouken@4965
     4
slouken@4965
     5
LOCAL_MODULE := main
slouken@4965
     6
slouken@4965
     7
SDL_PATH := ../SDL
slouken@4965
     8
slouken@4965
     9
LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include
slouken@4965
    10
slouken@4965
    11
# Add your application source files here...
slouken@4965
    12
LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.cpp \
slouken@4965
    13
	YourSourceHere.c
slouken@4965
    14
slouken@6288
    15
LOCAL_SHARED_LIBRARIES := SDL2
slouken@4965
    16
slouken@4965
    17
LOCAL_LDLIBS := -lGLESv1_CM -llog
slouken@4965
    18
slouken@4965
    19
include $(BUILD_SHARED_LIBRARY)