sources

来自「WindowsXP WDM驱动程序开发实例」· 代码 · 共 38 行

TXT
38
字号
# SOURCES - for Test_ReadWrite application

TARGETNAME=Test_ReadWrite
TARGETPATH=obj
TARGETTYPE=PROGRAM
UMTYPE=console
UMBASE=0x01000000

# Put Win2K DDK specific defines in this section.
!IF "$(LATEST_WIN32_WINNT_VERSION)" == "0x0500" || "$(LATEST_WIN32_WINNT_VERSION)" == "0x0501"
TARGETLIBS=	$(SDK_LIB_PATH)\setupapi.lib

# Put NT4/Win98 DDK specific defines in this section.
!ELSE
TARGETLIBS=	$(BASEDIR)\lib\i386\$(DDKBUILDENV)\setupapi.lib

# check for existence of output directory
!  IF exist ($(TARGETPATH)\i386\$(DDKBUILDENV))
# do nothing; the directory has already been created
!  ELSE
# Need to create the directory for the output in NT4/Win98
!    IF [mkdir $(TARGETPATH)\i386\$(DDKBUILDENV)] > 1
!      ERROR Failed to create output directory.
!    ENDIF
!  ENDIF
!ENDIF

BROWSER_INFO=1
USE_NATIVE_EH=1

!IF ("$(DDKBUILDENV)"=="fre") || ("$(DDKBUILDENV)"=="free")
NTDEBUG=
!ENDIF

INCLUDES=..\.;$(DRIVERWORKS)\include

SOURCES=Test_ReadWrite.cpp openbyintf.cpp

⌨️ 快捷键说明

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