From 4e139d24265def7bdf4886044cfd1607375e5104 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Tue, 8 May 2018 13:27:40 +0100 Subject: [PATCH] Makefile: fix color output of makefile echos Force interpretation of backslash escapes with the parameter -e of echo. Switch to a lighter blue because on certain terminals default blue is hard to read on black background. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 88df8d7b58..eb56b93634 100644 --- a/Makefile +++ b/Makefile @@ -126,11 +126,11 @@ define cmake-build +@(cd $(BUILD_DIR) && $(PX4_MAKE) $(PX4_MAKE_ARGS) $(ARGS)) endef -COLOR_BLUE = \033[0;34m +COLOR_BLUE = \033[0;94m NO_COLOR = \033[m define colorecho -+@echo "${COLOR_BLUE}${1} ${NO_COLOR}" ++@echo -e "${COLOR_BLUE}${1} ${NO_COLOR}" endef # Get a list of all config targets cmake/configs/*.cmake