Atlas - TOOLS.INI
Home / ext / JunkDrawer / DOS / BuildTools / v4.0 Lines: 1 | Size: 2556 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]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 74[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.