-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
64 lines (45 loc) · 2.23 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Makefile for OS/2, EMX and IBM nmake
#
# $Id$
CFLAGS=-Wall -Ismapi -Lsmapi -O3 -fomit-frame-pointer -fstrength-reduce -fno-rtti -fno-exceptions -static
# -Zcrtdll
all: reader.exe arealist.exe messages.exe new.exe reply.exe
cp reader.exe d:\apache_1.3.6\htdocs\webbbbs
cp arealist.exe d:\apache_1.3.6\htdocs\webbbbs
cp messages.exe d:\apache_1.3.6\htdocs\webbbbs
cp new.exe d:\apache_1.3.6\htdocs\webbbbs
cp reply.exe d:\apache_1.3.6\htdocs\webbbbs
reader.exe: reader.o charset.o convert.o select.o getarg.o lastread.o htmlerror.o
gcc $(CFLAGS) -o reader.exe reader.o charset.o convert.o getarg.o select.o lastread.o htmlerror.o reader.def -lsmapiemo -lstdcpp
reader.o: reader.cpp charset.h select.h convert.h config.h lastread.h
gcc $(CFLAGS) -c reader.cpp
charset.o: charset.cpp config.h
gcc $(CFLAGS) -c charset.cpp
convert.o: convert.cpp config.h
gcc $(CFLAGS) -c convert.cpp
getarg.o: getarg.cpp config.h
gcc $(CFLAGS) -c getarg.cpp
select.o: select.cpp select.h config.h
gcc $(CFLAGS) -c select.cpp
arealist.exe: arealist.o getarg.o htmlerror.o config.h
gcc $(CFLAGS) -o arealist.exe arealist.o getarg.o htmlerror.o reader.def -lstdcpp
arealist.o: arealist.cpp config.h
gcc $(CFLAGS) -c arealist.cpp
messages.exe: messages.o select.o charset.o convert.o getarg.o lastread.o htmlerror.o
gcc $(CFLAGS) -o messages.exe messages.o select.o charset.o convert.o getarg.o lastread.o htmlerror.o reader.def -lsmapiemo -lstdcpp
messages.o: messages.cpp config.h lastread.h
gcc $(CFLAGS) -c messages.cpp
new.exe: new.o getarg.o htmlerror.o
gcc $(CFLAGS) -o new.exe new.o getarg.o htmlerror.o reader.def -lstdcpp
new.o: new.cpp config.h
gcc $(CFLAGS) -c new.cpp
lastread.o: lastread.cpp lastread.h config.h
gcc $(CFLAGS) -c lastread.cpp
htmlerror.o: htmlerror.cpp htmlerror.h
gcc $(CFLAGS) -c htmlerror.cpp
reply.exe: reply.o replycgi.o convert.o config.h htmlerror.o
gcc $(CFLAGS) -o reply.exe reply.o replycgi.o convert.o htmlerror.o reader.def -lstdcpp
reply.o: reply.cpp datatyp.h pkthead.h config.h
gcc $(CFLAGS) -c reply.cpp
replycgi.o: replycgi.cpp config.h
gcc $(CFLAGS) -c replycgi.cpp