From e0e68aad54e1bb8c5aef20eee79c41e1b708c587 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 21 Mar 2021 18:33:16 +0100 Subject: [PATCH] Update Makefile --- templates/simple_game/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/simple_game/Makefile b/templates/simple_game/Makefile index f142339b6..785565fa8 100644 --- a/templates/simple_game/Makefile +++ b/templates/simple_game/Makefile @@ -194,6 +194,9 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) MAKE = mingw32-make endif endif +ifeq ($(PLATFORM),PLATFORM_ANDROID) + MAKE = mingw32-make +endif # Define compiler flags: # -O1 defines optimization level @@ -243,7 +246,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB) # -O2 # optimization level 2, if used, also set --memory-init-file 0 # -s USE_GLFW=3 # Use glfw3 library (context/input management) # -s ALLOW_MEMORY_GROWTH=1 # to allow memory resizing -> WARNING: Audio buffers could FAIL! - # -s TOTAL_MEMORY=16777216 # to specify heap memory size (default = 16MB) + # -s TOTAL_MEMORY=16777216 # to specify heap memory size (default = 16MB) (67108864 = 64MB) # -s USE_PTHREADS=1 # multithreading support # -s WASM=0 # disable Web Assembly, emitted by default # -s ASYNCIFY # lets synchronous C/C++ code interact with asynchronous JS @@ -287,7 +290,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),LINUX) # Reset everything. # Precedence: immediately local, installed version, raysan5 provided libs -I$(RAYLIB_H_INSTALL_PATH) -I$(RAYLIB_PATH)/release/include - #INCLUDE_PATHS = -I$(RAYLIB_H_INSTALL_PATH) -isystem. -isystem$(RAYLIB_PATH)/src -isystem$(RAYLIB_PATH)/release/include -isystem$(RAYLIB_PATH)/src/external INCLUDE_PATHS = -I$(RAYLIB_H_INSTALL_PATH) -I. -I$(RAYLIB_PATH)/src -I$(RAYLIB_PATH)/release/include -I$(RAYLIB_PATH)/src/external endif endif