mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
1036115f2d
The escape codes and special chars now live in their own module. The color module is only concerned with detecting whether to use colors or not. Additional variables are defined with hard a coded ESC char, a tab and a newline. This removes the need for echo or printf.
17 lines
532 B
Makefile
17 lines
532 B
Makefile
# Make does not recognize escaped characters (e.g. \t, \033, etc).
|
||
# The following variables contain the characters themselves.
|
||
# This file is inherently fragile (i.e. your editor could destroy the tab
|
||
# without you realizing, to be careful when editing this.
|
||
|
||
# To generate this: $ printf "ANSI_ESC := \033# comment"
|
||
ANSI_ESC := # you may or may not be able to see that character in your editor
|
||
|
||
# The third parameter to the subst is a tab - be careful not to replace it with
|
||
# spaces!
|
||
TAB := $(subst ,, )
|
||
|
||
define NEWLINE
|
||
|
||
|
||
endef
|