project_files/Android-build/SDL-android-project/jni/src/Android.mk
branchhedgeroid
changeset 5304 e29aa9e29f00
child 5314 09bcdcd78379
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project_files/Android-build/SDL-android-project/jni/src/Android.mk	Wed Jun 22 23:59:01 2011 +0200
@@ -0,0 +1,21 @@
+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)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := hwengine
+LOCAL_SRC_FILES := $(LOCAL_DIR)../../../out/libhwengine.so
+include $(PREBUILT_SHARED_LIBRARY)