# HG changeset patch # User Xeli # Date 1328368651 -3600 # Node ID cc94940fe4383bf23445c1270f8e204733ca261f # Parent b211d0b690ded1668d80b184c22f4fc8866731ec Android makefile: compile with debug symbols and ant clean, otherwise it wont update the apk if you have only changed a lib diff -r b211d0b690de -r cc94940fe438 project_files/Android-build/Templates/Makefile.android --- a/project_files/Android-build/Templates/Makefile.android Sat Feb 04 16:15:57 2012 +0100 +++ b/project_files/Android-build/Templates/Makefile.android Sat Feb 04 16:17:31 2012 +0100 @@ -1,7 +1,7 @@ SDL_ANDROID_DIR=./SDL-android-project PPCROSSARM=${FPC_DIR}/compiler/ppcrossarm -PPCROSSARM_FLAGS= -Xd -O- -Tlinux -XParm-linux-androideabi- -vwnh +PPCROSSARM_FLAGS= -Xd -O2 -g -Tlinux -XParm-linux-androideabi- -vwnh PPCROSSARM_INCLUDES= \ -FD${ANDROID_NDK}/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin \ -Fu${FPC_DIR}/rtl/units/arm-linux \ @@ -19,7 +19,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} clean -f $(SDL_ANDROID_DIR)/build.xml ${ANT} debug install -f $(SDL_ANDROID_DIR)/build.xml clean: ${CMAKE_COMMAND} -E remove_directory out