ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/GNUmakefile
Revision: 7
Committed: 2007-05-06T22:12:04-07:00 (15 years, 7 months ago) by douglas
Original Path: Common/GNUmakefile
File size: 354 byte(s)
Log Message:
Woo! Complete!

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     rm -rf libtruck.a *.d *.o

Properties

Name Value
svn:keywords Id