ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/WinXPFAQPoll/GNUmakefile
Revision: 127
Committed: 2003-04-03T20:46:40-08:00 (22 years, 2 months ago) by douglas
File size: 622 byte(s)
Log Message:
Added GNUmakefile and update .cvsignore for Unix, odd.

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