suitable "echo -e" substitute.
MEDIA :=
NON_AUTO_MEDIA :=
+# Find a usable "echo -e".
+#
+ifeq ($(shell echo '\0101'),A)
+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.
#
MAKEDEPS += Config
# Locations of utilities
#
-ECHO ?= /bin/echo -e
HOST_CC ?= gcc
CPP ?= gcc -E -Wp,-Wall
RM ?= rm -f
#
CLEANUP := $(BIN)/*.* # *.* to avoid catching the "CVS" directory
+# Show what we're using for "echo -e"
+#
+echo :
+ @$(ECHO) Using "$(ECHO)" to echo
+
# Version number calculations
#
VERSION_MAJOR = 0