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

File Contents

# Content
1 # Windows XP FAQ Poll
2 #
3 # Douglas Thrift
4 #
5 # GNUmakefile
6
7 CSRC = WinXPFAQPoll.cpp IMAPHandler.cpp Poller.cpp Contactor.cpp Account.cpp \
8 Message.cpp
9 HDRS = ${patsubst %.cpp, %.h, ${CSRC}}
10 OBJS = ${patsubst %.cpp, %.o, ${CSRC}}
11 EXEC = WinXPFAQPoll
12
13 ifndef (CPPC)
14 CPPC = g++
15 endif
16 ifndef (CPPCOPT)
17 CPPCOPT =
18 endif
19 ifndef (CPPCDEP)
20 CPPCDEP = -MM
21 endif
22
23 all: ${EXEC}
24
25 ${EXEC}: ${OBJS}
26 ${CPPC} ${OBJS} -o ${EXEC} -lssl -lcrypto
27
28 %.o:%.cpp
29 ${CPPC} ${CPPCOPT} $< -c
30
31 depend: ${CSRC} ${HDRS}
32 ${CPPC} ${CPPCDEP} ${CSRC} > depend
33
34 include depend
35
36 clean:
37 - rm ${OBJS} ${EXEC} ${patsubst %, %.exe, ${EXEC}} core *.core depend