mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-26 22:36:02 +01:00
Add colored GCC output
Signed-off-by: Benoît Taine <ork@olol.eu>
This commit is contained in:
parent
1eec4a683f
commit
932b83e6b1
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ COLOR_NORMAL = `$(TPUT) sgr0`
|
|||
COLOR_ACTION = `$(TPUT) bold``$(TPUT) setaf 3`
|
||||
COLOR_COMMENT = `$(TPUT) bold``$(TPUT) setaf 2`
|
||||
COLOR_BRACKET = `$(TPUT) setaf 4`
|
||||
CC += -fdiagnostics-color=always
|
||||
define colorecho
|
||||
@echo $(COLOR_BRACKET)" ["$(COLOR_ACTION)$1$(COLOR_BRACKET)"] "$(COLOR_COMMENT)$2$(COLOR_BRACKET) $(COLOR_NORMAL)
|
||||
endef
|
||||
|
|
Loading…
Reference in a new issue