equal
deleted
inserted
replaced
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 |