project_files/Android-build/Makefile.android
branchhedgeroid
changeset 5314 09bcdcd78379
parent 5311 a0b808b2df2b
--- a/project_files/Android-build/Makefile.android	Thu Jun 23 13:57:16 2011 +0200
+++ b/project_files/Android-build/Makefile.android	Thu Jun 23 14:12:11 2011 +0200
@@ -8,7 +8,7 @@
 ANDROID_API_LVL=5
 
 PPCROSSARM=$(FPC_DIR)/compiler/ppcrossarm
-PPCROSSARM_FLAGS= -Xd -O- -Tlinux -XParm-linux-androideabi- -vwnh -XS  
+PPCROSSARM_FLAGS= -Xd -O- -Tlinux -XParm-linux-androideabi- -vwnh -XS -a- 
 PPCROSSARM_INCLUDES= \
 	-FD$(ANDROID_NDK)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin \
 	-Fu$(FPC_DIR)/rtl/units/arm-linux \
@@ -22,6 +22,6 @@
 all:
 	-mkdir out
 	$(PPCROSSARM) $(LINKERFLAGS) $(PPCROSSARM_FLAGS) $(PPCROSSARM_INCLUDES) $(FPC_DEFINES) -oout/libhwengine.so ../../hedgewars/hwLibrary.pas
-
+	cp out/libhwengine.so SDL-android-project/libs/armeabi
 clean:  
 	rm out/*