Colors
- Color Coding Makefile Output
- Bash Colors
- A Makefile for managing an OpenSSL CA
- Makefile tutorial
- What is the difference between the GNU Makefile variable assignments =, ?=, := and +=?
NO_COLOR=\e[0m
OK_COLOR=\e[32m
ERROR_COLOR=\e[31m
WARN_COLOR=\e[33m
OK_STRING=$(OK_COLOR)[OK]$(NO_COLOR)
ERROR_STRING=$(ERROR_COLOR)[ERRORS]$(NO_COLOR)
WARN_STRING=$(WARN_COLOR)[WARNINGS]$(NO_COLOR)
ac:
@echo -e "$(OK_STRING)"