From 7ae321f6a25ca7433332a00869f3f23c3e2230ca Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 21 Mar 2021 18:39:02 +0100 Subject: [PATCH] Updated Working for Android (markdown) --- Working-for-Android.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Working-for-Android.md b/Working-for-Android.md index 8bfc3a9..f5c677c 100644 --- a/Working-for-Android.md +++ b/Working-for-Android.md @@ -60,6 +60,22 @@ Then build the apk with: mingw32-make PLATFORM=PLATFORM_ANDROID +**WARNING: Make sure the MAKE tool to use is properly configured in the Makefile:** +```make +# Define default make program +MAKE = make + +ifeq ($(PLATFORM),PLATFORM_DESKTOP) + ifeq ($(PLATFORM_OS),WINDOWS) + MAKE = mingw32-make + endif +endif +ifeq ($(PLATFORM),PLATFORM_ANDROID) + MAKE = mingw32-make +endif + +``` + _Step 2:_ To install the APK into connected device (previously intalled drivers and activated USB debug mode on device): %ANDROID_SDK_TOOLS%\adb install simple_game.apk