project_files/Android-build/Templates/Makefile.android
changeset 6589 2fa0a274a1e3
parent 6230 de1e43054017
child 6621 cc94940fe438
--- a/project_files/Android-build/Templates/Makefile.android	Sun Jan 22 23:35:32 2012 +0100
+++ b/project_files/Android-build/Templates/Makefile.android	Sun Jan 22 23:36:36 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 -XS -a- -B
+PPCROSSARM_FLAGS= -Xd -O- -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 \
@@ -20,7 +20,7 @@
 	$(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
+	${ANT} debug install -f $(SDL_ANDROID_DIR)/build.xml
 clean:  
 	${CMAKE_COMMAND} -E remove_directory out
 	${ANDROID_NDK}/ndk-build -C $(SDL_ANDROID_DIR) -j 8 clean