ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/Common/GNUmakefile
Revision: 9
Committed: 2007-05-07T03:57:06-07:00 (15 years, 7 months ago) by douglas
File size: 355 byte(s)
Log Message:
That!

File Contents

# User Rev Content
1 douglas 2 # Truck Computer Dooom!
2     #
3     # Douglas Thrift
4     #
5     # $Id$
6    
7 douglas 3 CPPFLAGS := -MD -I/usr/local/include
8 douglas 2 CXXFLAGS := -Wall -pedantic -g -O2
9    
10     all: libtruck.a
11    
12 douglas 7 %.o: %.cpp
13     @echo [$(<F)]
14     @$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
15     @echo [$(@F)]
16    
17 douglas 3 libtruck.a: posix.o regex.o
18 douglas 7 @echo [$(+F)]
19     @$(AR) cr $@ $+
20     @echo [$(@F)]
21 douglas 2
22     -include *.d
23    
24     clean:
25 douglas 9 @rm -fv libtruck.a *.d *.o

Properties

Name Value
svn:keywords Id