Add gmake switch to use gmake if it is present

gmake is expected to be the default on most platforms, but it needs to be
explicitly specified on some systems.
This commit is contained in:
2017-04-25 20:36:05 -05:00
parent b11949b46e
commit 386c72a77b
2 changed files with 20 additions and 9 deletions
+6 -2
View File
@@ -1,6 +1,10 @@
all: gba_build native_build native_debug_build windows_release windows_debug
ifneq ($(which gmake 2>&1),)
MAKE=gmake -j
else
MAKE=make
endif
MAKE=make -j
all: gba_build native_build native_debug_build windows_release windows_debug
gba_build:
@if [ -d gba-release ]; then \