From 75f21d276ce236c96d1b412c390ec1cb8c91005f Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Sat, 17 Dec 2005 01:17:26 +0000 Subject: [PATCH] Use tput instead of hardcoded escape sequences in the make system. --- Makefile.lib | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.lib b/Makefile.lib index bd825b5b5..85ecd3d95 100644 --- a/Makefile.lib +++ b/Makefile.lib @@ -16,12 +16,12 @@ endif # Colorize the build. ifdef MAKE_COLOR - INFO_COLOR = \033[0;35m - CC_COLOR = \033[0;36m - LD_COLOR = \033[0;32m - LINK_COLOR = \033[1;34m - INSTALL_COLOR = \033[0;33m - END_COLOR = \033[0;0m + INFO_COLOR = $(shell tput setaf 5) + CC_COLOR = $(shell tput setaf 6) + LD_COLOR = $(shell tput setaf 2) + LINK_COLOR = $(shell tput bold;tput setaf 4) + INSTALL_COLOR = $(shell tput setaf 3) + END_COLOR = $(shell tput sgr0) endif # Show the command (quiet or non-quiet version based on the assignment