project_files/Android-build/SDL-android-project/jni/src/Android.mk
author Xeli
Thu, 23 Jun 2011 14:12:11 +0200
branchhedgeroid
changeset 5314 09bcdcd78379
parent 5304 e29aa9e29f00
child 10017 de822cd3df3a
permissions -rw-r--r--
Have make move the actual libhwengine.so to the SDL-android-project folder, rather than having the ndk-build reference to it. This removes the circular dependency

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := main

LOCAL_C_INCLUDES := $(LOCAL_PATH)/../SDL/include

# Add your application source files here...
LOCAL_SRC_FILES := ../SDL/src/main/android/SDL_android_main.cpp hedgewars_main.c 

LOCAL_SHARED_LIBRARIES := SDL

LOCAL_LDLIBS := -llog -lGLESv1_CM

include $(BUILD_SHARED_LIBRARY)