]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/TOOLS/TOOLS.INI

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / TOOLS / TOOLS.INI
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
29 asm =masm
30 aflags =-Mx -t $(extasw)
31 ainc =-I. -I$(inc) -I$(dos)
32
33 ########## Definitions for C compiler ##########
34
35 cc =cl
36 cflags =-AS -Os -Zp $(extcsw)
37 cinc =-I. -I$(hinc)
38
39 ########## Definitions for linker ##########
40
41 link =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 \1a