diff options
| author | raysan5 <[email protected]> | 2021-02-09 15:42:03 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-02-09 15:42:03 +0100 |
| commit | 043eb5882bc68df02d7c0c72dbf0abeea5084bbd (patch) | |
| tree | 40c628e83dd503ed2557a5b6a837b071826ad601 /templates | |
| parent | 00a0461c7adbaa94df7237d574f111fd2229dddf (diff) | |
| download | raylib-043eb5882bc68df02d7c0c72dbf0abeea5084bbd.tar.gz raylib-043eb5882bc68df02d7c0c72dbf0abeea5084bbd.zip | |
Review Makefile to support PLATFORM_RPI #1580
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/advance_game/Makefile | 11 | ||||
| -rw-r--r-- | templates/simple_game/Makefile | 13 | ||||
| -rw-r--r-- | templates/standard_game/Makefile | 11 |
3 files changed, 12 insertions, 23 deletions
diff --git a/templates/advance_game/Makefile b/templates/advance_game/Makefile index 65c14cdf..34881d4a 100644 --- a/templates/advance_game/Makefile +++ b/templates/advance_game/Makefile @@ -177,15 +177,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 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 diff --git a/templates/standard_game/Makefile b/templates/standard_game/Makefile index 8c807083..e27adb23 100644 --- a/templates/standard_game/Makefile +++ b/templates/standard_game/Makefile @@ -177,15 +177,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 |
