1 # =============================================================================
2 # Rocks'n'Diamonds for Android
3 # -----------------------------------------------------------------------------
4 # (c) 1995-2020 by Artsoft Entertainment
7 # https://www.artsoft.org/
8 # -----------------------------------------------------------------------------
9 # build-projects/android/Makefile
10 # =============================================================================
12 PROGBASE = rocksndiamonds
14 AUTO_GENERATED_BUILD_DIRS = .gradle app/.externalNativeBuild app/build
15 AUTO_GENERATED_OTHER_DIRS = app/jni/SDL2* app/src/main/assets .prepared
17 export ANDROID_HOME := $(HOME)/projects/Android/SDK
23 ./build-scripts/create_sdl.sh
26 ./build-scripts/create_manifest.sh
29 ./build-scripts/create_assets.sh
32 ./build-scripts/create_asset_tocs.sh app/src/main/assets
34 .prepared: sdl manifest assets assets-toc
35 make -C ../.. auto-conf conf-time conf-hash
40 ./gradlew assembleDebug
46 rm -rf $(AUTO_GENERATED_BUILD_DIRS) $(AUTO_GENERATED_OTHER_DIRS)
50 dist-clean: clean-build clean-auto-generated