ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/RenegadeMapSelector/GNUmakefile
Revision: 368
Committed: 2008-08-23T02:44:00-07:00 (14 years, 5 months ago) by douglas
File size: 694 byte(s)
Log Message:
Rearranged everything else.

File Contents

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