makefile
来自「DOS 源代码 系列之 command 源码」· 代码 · 共 69 行
TXT
69 行
#************************** makefile for cmd\attrib ***************************
msg =..\..\messages
inc =..\..\inc
hinc =..\..\h
extasw =-i$(inc) -D$(COUNTRY)
extcsw =-I$(hinc)
bins =..\..\binaries
cprs =..\..\compress
dest =attrib.exe
pkl =attrib.pkl
#
####################### dependencies begin here. #########################
#
!IFNDEF BUILDER
all: $(dest)
!ELSE
all: $(dest) $(bins)\$(dest) $(cprs)\$(cpr)
$(bins)\$(dest): $(pkl)
copy $(pkl) $(bins)\$(dest)
$(cprs)\$(cpr): $(pkl)
copy $(pkl) $(cprs)\$(dest)
$(pkl): $(dest)
pklite -o $(dest) $(pkl)
!ENDIF
attrib.ctl: attrib.skl \
$(msg)\$(COUNTRY).msg \
makefile
_parse.obj: _parse.asm \
$(inc)\version.inc \
$(inc)\parse.asm \
$(inc)\psdata.inc
_msgret.obj: _msgret.asm \
attrib.ctl \
$(inc)\msgserv.asm \
$(inc)\sysmsg.inc \
$(inc)\copyrigh.inc \
attrib.skl
attriba.obj: attriba.asm
attrib.obj: attrib.c \
attrib.h \
parse.h \
msgret.h \
proto.h \
makefile
$(dest): attrib.obj \
attriba.obj \
_parse.obj \
_msgret.obj \
attrib.lnk
link $(exelink) @attrib.lnk
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?