summaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-21 18:33:16 +0100
committerRay <[email protected]>2021-03-21 18:33:16 +0100
commite0e68aad54e1bb8c5aef20eee79c41e1b708c587 (patch)
tree0146d3b9374e8d1412c7c6aabd55b2e0bd44cf81 /templates
parent2f943aaff09de326ed71e498fa67b364e3210a53 (diff)
downloadraylib-e0e68aad54e1bb8c5aef20eee79c41e1b708c587.tar.gz
raylib-e0e68aad54e1bb8c5aef20eee79c41e1b708c587.zip
Update Makefile
Diffstat (limited to 'templates')
-rw-r--r--templates/simple_game/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/simple_game/Makefile b/templates/simple_game/Makefile
index f142339b..785565fa 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