improved Makefile for packaging Android package for custom games
authorHolger Schemel <info@artsoft.org>
Wed, 14 Mar 2018 18:43:14 +0000 (19:43 +0100)
committerHolger Schemel <info@artsoft.org>
Wed, 14 Mar 2018 18:43:14 +0000 (19:43 +0100)
Makefile

index 2985f1a6cb9361eeccf1d64ff1316109aa1854a2..6bd61e8ef3d98695d3d4f1d15ba310d3022d46f9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ CROSS_PATH_WIN32 = /usr/local/cross-tools/i386-mingw32msvc
 .EXPORT_ALL_VARIABLES:
 
 SRC_DIR = src
-ANDROID_DIR = android
+ANDROID_DIR ?= android
 
 MAKE_CMD = $(MAKE) -C $(SRC_DIR)
 MAKE_CMD_ANDROID = $(MAKE) -C $(ANDROID_DIR)
@@ -83,6 +83,9 @@ android-package:
 android-install:
        @$(MAKE_CMD_ANDROID) install
 
+android-assets-toc:
+       @$(MAKE_CMD_ANDROID) assets-toc
+
 android-clean:
        @$(MAKE_CMD_ANDROID) clean