ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/Common/GNUmakefile
(Generate patch)

Comparing Common/GNUmakefile (file contents):
Revision 14 by douglas, 2007-05-14T18:24:34-07:00 vs.
Revision 15 by douglas, 2007-05-21T10:38:25-07:00

# Line 4 | Line 4
4   #
5   # $Id$
6  
7 + include common.mk
8 +
9   CPPFLAGS := -MD -I/usr/local/include
10   CXXFLAGS := -Wall -pedantic -g -O2
11  
12   all: libtruck.a
13  
12 %.o: %.cpp
13        @echo [$(<F)]
14        @$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
15        @echo [$(@F)]
16
14   libtruck.a: posix.o regex.o
15 <        @echo [$(+F)]
15 >        @echo "$(bright)$(white)$(AR)\t$(blue)[$(reset)$(+F)$(bright)$(blue)]$(reset)"
16          @$(AR) cr $@ $+
17 <        @echo [$(@F)]
17 >        @echo "$(bright)$(white)$(AR)\t$(green)[$(reset)$(@F)$(bright)$(green)]$(reset)"
18  
19   -include *.d
20  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines