ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/RenegadeMapSelector/GNUmakefile
Revision: 92
Committed: 2003-03-15T22:23:04-08:00 (19 years, 10 months ago) by douglas
Original Path: trunk/RenegadeMapSelector/GNUmakefile
File size: 681 byte(s)
Log Message:
Oops again and changed clean in GNUmakefile.

File Contents

# Content
1 # Renegade Map Selector
2 #
3 # Douglas Thrift
4 #
5 # GNUmakefile
6
7 CSRC = RenegadeMapSelector.cpp RenegadeConfig.cpp MapSelector.cpp
8 HDRS = ${patsubst %.cpp, %.h, ${CSRC}}
9 OBJS = ${patsubst %.cpp, %.o, ${CSRC}}
10 EXEC = RenegadeMapSelector
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} `pkg-config --libs gtk+-2.0`
26
27 %.o:%.cpp
28 ${CPPC} ${CPPCOPT} $< -c `pkg-config --cflags gtk+-2.0`
29
30 depend: ${CSRC} ${HDRS}
31 ${CPPC} ${CPPCDEP} ${CSRC} `pkg-config --cflags gtk+-2.0` > depend
32
33 include depend
34
35 clean:
36 - rm ${OBJS} ${EXEC} ${patsubst %, %.exe, ${EXEC}} core *.core depend