Skip to content
Snippets Groups Projects
Commit 4e139d24 authored by Matthias Grob's avatar Matthias Grob Committed by Beat Küng
Browse files

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.
parent 72db7d33
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment