summaryrefslogtreecommitdiff
path: root/v4.0/src/TOOLS/TOOLS.INI
diff options
context:
space:
mode:
authorGravatar Mark Zbikowski2024-04-25 21:24:10 +0100
committerGravatar Microsoft Open Source2024-04-25 22:32:27 +0000
commit2d04cacc5322951f187bb17e017c12920ac8ebe2 (patch)
tree80ee017efa878dfd5344b44249e6a241f2a7f6e2 /v4.0/src/TOOLS/TOOLS.INI
parentMerge pull request #430 from jpbaltazar/typoptbr (diff)
downloadms-dos-main.tar.gz
ms-dos-main.tar.xz
ms-dos-main.zip
MZ is back!HEADmain
Diffstat (limited to 'v4.0/src/TOOLS/TOOLS.INI')
-rw-r--r--v4.0/src/TOOLS/TOOLS.INI73
1 files changed, 73 insertions, 0 deletions
diff --git a/v4.0/src/TOOLS/TOOLS.INI b/v4.0/src/TOOLS/TOOLS.INI
new file mode 100644
index 0000000..3c6a267
--- /dev/null
+++ b/v4.0/src/TOOLS/TOOLS.INI
@@ -0,0 +1,73 @@
1
2[nmake]
3
4#############################################################################
5# #
6# These are the built in rules and path definitions used by the new MS Make #
7# Utility (NMAKE). The following variables are set externaly (ie set in the #
8# individual makefiles. #
9# #
10# extasw = The 'extra assembly switch' variable is optionaly used in the #
11# makefile to specify special MASM command line switches. #
12# #
13# extcsw = The 'extra C switch' variable is optionaly used in the makefile #
14# to specify special C compiler command line switches. #
15# #
16# inc = The include file search path from the utility being built to the #
17# INC directory. Used if needed. #
18# #
19# dos = The include file search path from the utility being built to the #
20# DOS directory. Used if needed. #
21# #
22# hinc = The include file search path from the utility being built to the #
23# H directory. Used if needed for C source compilation. #
24# #
25#############################################################################
26
27########## Definitionms for the Assembler ##########
28
29asm =masm
30aflags =-Mx -t $(extasw)
31ainc =-I. -I$(inc) -I$(dos)
32
33########## Definitions for C compiler ##########
34
35cc =cl
36cflags =-AS -Os -Zp $(extcsw)
37cinc =-I. -I$(hinc)
38
39########## Definitions for linker ##########
40
41link =link
42
43########## Built-in rules ##########
44
45.SUFFIXES:
46.SUFFIXES: .c .obj .lst .exe .com .cod .inc .skl .cl1 .ctl .asm .idx .msg
47
48.asm.obj:
49 $(asm) $(aflags) $(ainc) $*.asm,$*.obj;
50
51.asm.lst:
52 $(asm) -l $(aflags) $(ainc) $*.asm;
53
54.c.obj:
55 $(cc) -c $(cflags) $(cinc) -Fo$*.obj $*.c
56
57.c.lst:
58 $(cc) -c $(cflags) $(cinc) -fc$*.cod -fo$*.obj $*.c
59
60.exe.com:
61 reloc $*.exe $*.com
62
63.skl.cl1:
64 nosrvbld $*.skl $(msg)\$(COUNTRY).msg
65
66.skl.ctl:
67 buildmsg $(msg)\$(COUNTRY) $*.skl
68
69.msg.idx:
70 attrib -R $*.msg
71 buildidx $*.msg
72 attrib +R $*.msg
73