1 # BEGIN MAKEFILE: WSTERM.MAK
2 #
3 # Richard Lee - May 18, 1988
4 # Makefile for compose using MICROSOFT MAKE
5 #
6 # The following programs/utilities are needed to make WSTERM.EXE:
7 # Lattice C compiler v 2.15: LC.COM
8 # Macro Assembler: MASM.EXE
9 # Object librarian: PLIB86.EXE
10 # Linker: LINK.EXE
11 #
12 # The following include files need to be kept in the current directory:
13 # dos.mac
14 # The following makefile variables should be assigned appropriate values:
15 # SOURCE = <directory containing all source files>
16 # C_INCL = <directory containing all C includes>
17 # MOWSE_INCL = <directory containing all MOWSE includes>
18 # WSTERM_INCL= <directory containing all WSTERM includes>
19 # C_OBJ = <pathname for c.obj for linking>
20 # DB_OBJ = <pathname for dblog.obj for debugging>
21 # CLIB = <pathname for C library for linking>
22 # MLIB = <pathname for MOWSE library for linking>
23 #
24
25 SOURCE = \rich\wsterm\ph6_rel\\
26
27 C_INCL = \lc\\
28
29 MOWSE_INCL = \mowse\i\\
30
31 WSTERM_INCL = \rich\wsterm\ph6_rel\\
32
33 C_OBJ = \lc\s\c.obj
34
35 DB_OBJ = dblog.obj
36
37 CLIB = \lc\s\lc.lib
38
39 MLIB = \mowse\o\mowslib.lib
40
41 #
42 # COMPILATION DEFINITIONS
43 #
44
45 .c.obj:
46 lc -ms -i$C_INCL -i$MOWSE_INCL -i$WSTERM_INCL -n -b $*
47
48 .asm.obj:
49 masm $*,$*;
50
51 #
52 # OBJECTS
53 #
54
55 kbdisp.obj: kbdisp.c wstdefs.h wstglob.h
56
57 kbedit.obj: kbedit.c wstdefs.h wstglob.h
58
59 kbinit.obj: kbinit.c wstdefs.h
60
61 kbmvcur.obj: kbmvcur.c wstdefs.h wstglob.h
62
63 kbprim.obj: kbprim.c wstdefs.h wstglob.h
64
65 kbprocel.obj: kbprocel.c wstdefs.h wstglob.h
66
67 kbredraw.obj: kbredraw.c wstdefs.h wstglob.h
68
69 save.obj: save.asm
70
71 status.obj: status.c wstdefs.h wstglob.h
72
73 tbreak.obj: tbreak.asm
74
75 wstaudit.obj: wstaudit.c wstdefs.h wstglob.h
76
77 wstbkgnd.obj: wstbkgnd.c wstdefs.h wstglob.h
78
79 wstedit.obj: wstedit.c wstdefs.h wstglob.h
80
81 wsterm.obj: wsterm.c wstdefs.h wstglob.h
82
83 wstfrgnd.obj: wstfrgnd.c wstdefs.h wstglob.h
84
85 wstglob.obj: wstglob.c wstdefs.h
86
87 wsthelp.obj: wsthelp.c wstdefs.h wstglob.h
88
89 wsthist.obj: wsthist.c wstdefs.h wstglob.h wsthist.h
90
91 wstinit.obj: wstinit.c wstdefs.h
92
93 wstkbscr.obj: wstkbscr.c wstdefs.h wstglob.h
94
95 wstkill.obj: wstkill.c wstkill.h wstdefs.h
96
97 wstscrn.obj: wstscrn.c wstdefs.h wstglob.h
98
99 wstutil.obj: wstutil.c wstglob.h
100
101 #
102 # LIBRARIES
103 #
104
105 kblib.lib: kbdisp.obj kbedit.obj kbinit.obj kbmvcur.obj kbprim.obj \
106 kbprocel.obj kbredraw.obj
107 plib86 bu kblib.lib fi kbdisp,kbedit,kbinit,kbmvcur,kbprim,kbprocel,kbredraw
108
109 wstlib3.lib: status.obj wsthelp.obj wstscrn.obj save.obj \
110 tbreak.obj wstaudit.obj wsthist.obj wstkill.obj
111 plib86 bu wstlib3.lib fi status,wsthelp,wstscrn,save,tbreak,wstaudit,wsthist,wstkill
112
113 wstlib1.lib: wstedit.obj wstutil.obj
114 plib86 bu wstlib1.lib fi wstedit.obj,wstutil.obj
115
116 wstlib2.lib: wstbkgnd.obj wstfrgnd.obj wstglob.obj wstinit.obj wstkbscr.obj
117 plib86 bu wstlib2.lib fi wstbkgnd,wstfrgnd,wstglob,wstinit,wstkbscr
118
119 #
120 # EXECUTABLE
121 #
122
123 wsterm.exe: wsterm.obj wstlib3.lib wstlib1.lib wstlib2.lib kblib.lib
124 link $C_OBJ wsterm,wsterm,,wstlib3+wstlib1+wstlib2+kblib+$MLIB+$CLIB/map
125 mapsym wsterm.map
126
127 # END MAKEFILE: WSTERM.MAK
128 ^Z