project_files/Android-build/Templates/Makefile.android
branchhedgeroid
changeset 6230 de1e43054017
parent 6033 6bcc36225162
child 6589 2fa0a274a1e3
equal deleted inserted replaced
6228:1b7d4d7d162b 6230:de1e43054017
    12 FPC_DEFINES=-dandroid -darm
    12 FPC_DEFINES=-dandroid -darm
    13 
    13 
    14 
    14 
    15 all:
    15 all:
    16 	-${CMAKE_COMMAND} -E make_directory out
    16 	-${CMAKE_COMMAND} -E make_directory out
       
    17 
       
    18 	${ANDROID_NDK}/ndk-build -C $(SDL_ANDROID_DIR) -j 8
       
    19 
    17 	$(PPCROSSARM) $(LINKERFLAGS) $(PPCROSSARM_FLAGS) $(PPCROSSARM_INCLUDES) $(FPC_DEFINES) -oout/libhwengine.so ../../hedgewars/hwLibrary.pas
    20 	$(PPCROSSARM) $(LINKERFLAGS) $(PPCROSSARM_FLAGS) $(PPCROSSARM_INCLUDES) $(FPC_DEFINES) -oout/libhwengine.so ../../hedgewars/hwLibrary.pas
    18 	${CMAKE_COMMAND} -E copy out/libhwengine.so SDL-android-project/libs/armeabi/
    21 	${CMAKE_COMMAND} -E copy out/libhwengine.so SDL-android-project/libs/armeabi/
       
    22 
       
    23 	${ANT} install -f $(SDL_ANDROID_DIR)/build.xml
    19 clean:  
    24 clean:  
    20 	${CMAKE_COMMAND} -E remove_directory out	
    25 	${CMAKE_COMMAND} -E remove_directory out
       
    26 	${ANDROID_NDK}/ndk-build -C $(SDL_ANDROID_DIR) -j 8 clean
       
    27 	${ANT} clean -f $(SDL_ANDROID_DIR)/build.xml