diff -r 1b7d4d7d162b -r de1e43054017 project_files/Android-build/Templates/Makefile.android --- a/project_files/Android-build/Templates/Makefile.android Sat Nov 12 14:45:36 2011 +0100 +++ b/project_files/Android-build/Templates/Makefile.android Sat Nov 12 14:48:35 2011 +0100 @@ -14,7 +14,14 @@ all: -${CMAKE_COMMAND} -E make_directory out + + ${ANDROID_NDK}/ndk-build -C $(SDL_ANDROID_DIR) -j 8 + $(PPCROSSARM) $(LINKERFLAGS) $(PPCROSSARM_FLAGS) $(PPCROSSARM_INCLUDES) $(FPC_DEFINES) -oout/libhwengine.so ../../hedgewars/hwLibrary.pas ${CMAKE_COMMAND} -E copy out/libhwengine.so SDL-android-project/libs/armeabi/ + + ${ANT} install -f $(SDL_ANDROID_DIR)/build.xml clean: - ${CMAKE_COMMAND} -E remove_directory out + ${CMAKE_COMMAND} -E remove_directory out + ${ANDROID_NDK}/ndk-build -C $(SDL_ANDROID_DIR) -j 8 clean + ${ANT} clean -f $(SDL_ANDROID_DIR)/build.xml