mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-05 19:15:05 +00:00
Avoid Makefile syntax that requires make >= 3.81.
This commit is contained in:
parent
3b58fc0baf
commit
cf895a8c7c
22
src/Makefile
22
src/Makefile
@ -9,16 +9,22 @@ ROMS :=
|
||||
MEDIA :=
|
||||
NON_AUTO_MEDIA :=
|
||||
|
||||
# Find a usable "echo -e".
|
||||
# Find a usable "echo -e" substitute.
|
||||
#
|
||||
ifeq ($(shell echo '\0101'),A)
|
||||
ifeq ($(shell echo '\101'),A)
|
||||
ECHO ?= echo
|
||||
endif
|
||||
ifeq ($(shell echo -e '\101'),A)
|
||||
ECHO ?= echo -e
|
||||
endif
|
||||
ifeq ($(shell /bin/echo '\101'),A)
|
||||
ECHO ?= /bin/echo
|
||||
endif
|
||||
ifeq ($(shell /bin/echo -e '\101'),A)
|
||||
ECHO ?= /bin/echo -e
|
||||
endif
|
||||
ifndef ECHO
|
||||
ECHO := echo
|
||||
else ifeq ($(shell echo -e '\0101'),A)
|
||||
ECHO := echo -e
|
||||
else ifeq ($(shell /bin/echo '\0101'),A)
|
||||
ECHO := /bin/echo
|
||||
else ifeq ($(shell /bin/echo -e '\0101'),A)
|
||||
ECHO := /bin/echo -e
|
||||
endif
|
||||
|
||||
# Grab the central Config file.
|
||||
|
Loading…
Reference in New Issue
Block a user