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

File Contents

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

Properties

Name Value
svn:keywords Id