ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/Common/common.mk
Revision: 15
Committed: 2007-05-21T10:38:25-07:00 (15 years, 4 months ago) by douglas
File size: 734 byte(s)
Log Message:
Colorize!

File Contents

# User Rev Content
1 douglas 2 # Truck Computer Dooom!
2     #
3     # Douglas Thrift
4     #
5     # $Id$
6    
7 douglas 15 SHELL :=/usr/local/bin/bash -O extglob -O xpg_echo
8 douglas 2
9 douglas 15 reset :=\e[0m
10     bright :=\e[1m
11     dim :=\e[2m
12     underscore :=\e[4m
13     blink :=\e[5m
14     reverse :=\e[7m
15     hidden :=\e[8m
16     black :=\e[30m
17     red :=\e[31m
18     green :=\e[32m
19     yellow :=\e[33m
20     blue :=\e[34m
21     magenta :=\e[35m
22     cyan :=\e[36m
23     white :=\e[37m
24     black_ :=\e[40m
25     red_ :=\e[41m
26     green_ :=\e[42m
27     yellow_ :=\e[43m
28     blue_ :=\e[44m
29     magenta_ :=\e[45m
30     cyan_ :=\e[46m
31     white_ :=\e[47m
32 douglas 2
33 douglas 7 %.o: %.cpp
34 douglas 15 @echo "$(bright)$(white)$(CXX)$(reset)\t$(bright)$(blue)[$(reset)$(<F)$(bright)$(blue)]$(reset)"
35 douglas 7 @$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
36 douglas 15 @echo "$(bright)$(white)$(CXX)$(reset)\t$(bright)$(green)[$(reset)$(@F)$(bright)$(green)]$(reset)"

Properties

Name Value
svn:keywords Id