filemon.mak

来自「File System Driver for monitorinf File s」· MAK 代码 · 共 41 行

MAK
41
字号
#   Listing 3   Makefile for Filemon.vxd
#   Requires:
#       MS C++ Compiler 9.x (from VC++ 2.x Retail)
#       MASM Assembler 6.11c (from Beta-3 DDK or newer)
#       MS Link   (from Beta-3 DDK or newer)
#       VXDWRAPS.CLB (from Beta-3 DDK or newer)
#   (For a Build 347 binary, add -DBUILD347 to CVXDFLAGS)

!IFDEF NUMEGA
## For WinICE compatible SYM files
SYMGEN = msym
!ELSE
## For WDeb386 compatible SYM files
SYMGEN = mapsym
!ENDIF

## Compiler options
CVXDFLAGS = -Zdp -Gs -c -DIS_32 -Zl -DDEBLEVEL=1 -DDEBUG
## Assembler options
AFLAGS    = -coff -DBLD_COFF -DIS_32 -W2 -Zid -c -Cx \
            -DMASM6 -DDEBLEVEL=1 -DDEBUG

all: filemon.vxd

filemon.obj: filemon.c
        cl $(CVXDFLAGS) %s

vxdstub.obj: vxdstub.asm
        ml $(AFLAGS) %s

filemon.vxd: filemon.obj vxdstub.obj \
             filemon.def
        link @<<
/MACHINE:i386 /DEBUG /DEBUGTYPE:MAP
/PDB:NONE /VXD /DEF:filemon.def
/OUT:filemon.vxd /MAP:filemon.map
vxdstub.obj filemon.obj
vxdwraps.clb
<<
        $(SYMGEN) filemon

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?