-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmakefile.hco
101 lines (85 loc) · 1.47 KB
/
makefile.hco
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# look for libs in c:\lib
LIBDIR=c:\lib
# install programs in c:\bin
BINDIR=c:\bin
# look for includes here
INCDIR=c:\include
# options for installing programs
IBOPT=-s
CC= hc
ifeq ($(DEBUG), 1)
CFLAGS= -w4 -Hmscerr -I$(INCDIR) -g
else
CFLAGS= -w4 -Hmscerr -I$(INCDIR) -s
endif
CDEFS= -DOS2 -DUSE_MSGAPI
COPT= -O3
TARGET= msgedp.exe
MSGAPI= $(LIBDIR)\smapihco.lib
objs= addr.obj \
areas.obj \
bmg.obj \
charset.obj \
config.obj \
control.obj \
date.obj \
dialogs.obj \
dirute.obj \
dlgbox.obj \
dlist.obj \
echotoss.obj \
environ.obj \
fconf.obj \
fecfg145.obj \
fido.obj \
filedlg.obj \
flags.obj \
freq.obj \
gestr120.obj \
getopts.obj \
group.obj \
help.obj \
helpcmp.obj \
helpinfo.obj \
init.obj \
keycode.obj \
list.obj \
maintmsg.obj \
makemsgn.obj \
malloc16.obj \
memextra.obj \
menu.obj \
misc.obj \
mnu.obj \
msg.obj \
msged.obj \
mxbt.obj \
normalc.obj \
nshow.obj \
os2scr.obj \
quick.obj \
quote.obj \
readmail.obj \
screen.obj \
strextra.obj \
system.obj \
template.obj \
textfile.obj \
timezone.obj \
userlist.obj \
vsev.obj \
vsevops.obj \
win.obj \
wrap.obj
all: $(TARGET)
.c.obj:
$(CC) $(COPT) $(CFLAGS) $(CDEFS) -c $<
$(TARGET): $(objs)
$(CC) $(COPT) -o $(TARGET) $(objs) $(MSGAPI)
clean:
del *.obj
del *.bak
distclean: clean
del $(TARGET)
install: $(TARGET)
copy $(TARGET) $(BINDIR)