summaryrefslogtreecommitdiffhomepage
path: root/templates/simple_game
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-02-09 15:42:03 +0100
committerraysan5 <[email protected]>2021-02-09 15:42:03 +0100
commit043eb5882bc68df02d7c0c72dbf0abeea5084bbd (patch)
tree40c628e83dd503ed2557a5b6a837b071826ad601 /templates/simple_game
parent00a0461c7adbaa94df7237d574f111fd2229dddf (diff)
downloadraylib-043eb5882bc68df02d7c0c72dbf0abeea5084bbd.tar.gz
raylib-043eb5882bc68df02d7c0c72dbf0abeea5084bbd.zip
Review Makefile to support PLATFORM_RPI #1580
Diffstat (limited to 'templates/simple_game')
-rw-r--r--templates/simple_game/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/templates/simple_game/Makefile b/templates/simple_game/Makefile
index e612ee40..f142339b 100644
--- a/templates/simple_game/Makefile
+++ b/templates/simple_game/Makefile
@@ -186,15 +186,12 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
CC = emcc
endif
-# Define default make program: Mingw32-make
-MAKE = mingw32-make
+# Define default make program
+MAKE = make
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
- ifeq ($(PLATFORM_OS),LINUX)
- MAKE = make
- endif
- ifeq ($(PLATFORM_OS),OSX)
- MAKE = make
+ ifeq ($(PLATFORM_OS),WINDOWS)
+ MAKE = mingw32-make
endif
endif
@@ -399,11 +396,9 @@ ifeq ($(PLATFORM),PLATFORM_ANDROID)
MAKEFILE_PARAMS = -f Makefile.Android
# For Linux and macOS set make and makefile
ifeq ($(PLATFORM_OS),LINUX)
- MAKE = make
MAKEFILE_PARAMS = -f Makefile.Android.linux
endif
ifeq ($(PLATFORM_OS),OSX)
- MAKE = make
MAKEFILE_PARAMS = -f Makefile.Android.macos
endif
export PROJECT_NAME