"Fossies" - the Fresh Open Source Software Archive 
Member "mapm_4.9.5a/WINDOWS_DOS/mkallm80.bat" (21 Feb 2010, 1365 Bytes) of package /linux/misc/old/mapm-4.9.5a.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) MS DOS Batch source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 @echo off
2 rem
3 rem ============================================================
4 rem Creating MAPM.LIB with Micro$oft C 8.00c (16 bit .EXE)
5 rem ============================================================
6 rem
7 del *.obj
8 del mapm.lib
9 rem
10 rem (1) Compiles each map*.c and creates map*.obj:
11 rem
12 for %%1 in (map*.c) do cl /c /AL /NT MAPM_TEXT /Oce /Gs /Zl %%1
13 rem
14 rem
15 del mapmfmul.obj
16 del mapmutil.obj
17 rem
18 rem
19 cl /c /AL /NT MAPM_TEXT /Ocei /Gs /Zl mapmfmul.c
20 cl /c /AL /NT MAPM_TEXT /Ocei /Gs /Zl mapmutil.c
21 rem
22 rem (2) Creates MAPM.LIB:
23 rem
24 for %%1 in (map*.obj) do lib mapm.lib +%%1;
25 rem
26 del map*.obj
27 del mapm.bak
28 rem
29 rem (3) Compiles and links validate.c, calc.c, primenum.c, and cpp_demo.cpp
30 rem
31 rem
32 cl /c /AL /Gs calc.c
33 link /ST:4096 /NOI /CPARM:1 /MAP /FARCA /PACKCO calc,,,mapm.lib;
34 del calc.obj
35 rem
36 rem
37 cl /c /AL /Gs validate.c
38 link /ST:4096 /NOI /CPARM:1 /MAP /FARCA /PACKCO validate,,,mapm.lib;
39 del validate.obj
40 rem
41 rem
42 cl /c /AL /Gs primenum.c
43 link /ST:4096 /NOI /CPARM:1 /MAP /FARCA /PACKCO primenum,,,mapm.lib;
44 del primenum.obj
45 rem
46 rem
47 cl /c /AL /Gs cpp_demo.cpp
48 link /ST:8192 /NOI /CPARM:1 /MAP /FARCA /PACKCO cpp_demo,,,mapm.lib;
49 del cpp_demo.obj
50 rem
51 rem
52 rem -------
53 rem by M. Ring using 'mkalltcc.bat' as template
54 rem