Browse Source

Review Makefile to support PLATFORM_RPI #1580

pull/1581/head
raysan5 3 years ago
parent
commit
043eb5882b
4 changed files with 16 additions and 30 deletions
  1. +4
    -7
      examples/Makefile
  2. +4
    -7
      templates/advance_game/Makefile
  3. +4
    -9
      templates/simple_game/Makefile
  4. +4
    -7
      templates/standard_game/Makefile

+ 4
- 7
examples/Makefile View File

@ -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

+ 4
- 7
templates/advance_game/Makefile View File

@ -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

+ 4
- 9
templates/simple_game/Makefile View File

@ -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

+ 4
- 7
templates/standard_game/Makefile View File

@ -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

Loading…
Cancel
Save