ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/CGIRenegadeMapSelector/GNUmakefile
Revision: 136
Committed: 2003-04-14T15:21:40-07:00 (19 years, 9 months ago) by douglas
File size: 653 byte(s)
Log Message:
Yes!

File Contents

# Content
1 # Renegade Map Selector
2 #
3 # Douglas Thrift
4 #
5 # GNUmakefile
6
7 CSRC = CGIRenegadeMapSelector.cpp RenegadeConfig.cpp MapSelector.cpp
8 HDRS = ${patsubst %.cpp, %.h, ${CSRC}}
9 OBJS = ${patsubst %.cpp, %.o, ${CSRC}}
10 EXEC = mapselector.cgi
11
12 ifndef (CPPC)
13 CPPC = g++
14 endif
15 ifndef (CPPCOPT)
16 CPPCOPT =
17 endif
18 ifndef (CPPCDEP)
19 CPPCDEP = -MM
20 endif
21
22 all: ${EXEC}
23
24 ${EXEC}: ${OBJS}
25 ${CPPC} ${OBJS} -o ${EXEC} -lcgicc -L`cgicc-config --libdir`
26
27 %.o:%.cpp
28 ${CPPC} ${CPPCOPT} $< -c -I`cgicc-config --includedir`
29
30 depend: ${CSRC} ${HDRS}
31 ${CPPC} ${CPPCDEP} ${CSRC} -I`cgicc-config --includedir` > depend
32
33 include depend
34
35 clean:
36 - rm ${OBJS} ${EXEC} core *.core depend