阅读:868回复:1
蔡鸟问一个sources宏的问题?
NTTARGETFILE0
到底是什么意思? 我看ddk help,还是不理解。 |
|
|
沙发#
发布于:2005-03-30 11:42
NTTARGETFILE0
You can define the NTTARGETFILE0 and/or NTTARGETFILES macros to cause makefile.def to include makefile.inc immediately after it specifies the top level targets (all, clean, and loc) and their dependencies. The makefile.def file expands NTTARGETFILE0 as the first dependent for the all target, and NTTARGETFILES as the last dependent for the all target. Use this macro to specify additional targets and dependencies that do not fit the general case covered by makefile.def. NTTARGETFILE0= The fact that NTTARGETFILE0 exists, even if it is defined and empty, causes the Build utility to open makefile.inc in the same subdirectory as the sources file. If you set NTTARGETFILE0 to equal a file name, the Build utility will not only include makefile.inc, but will also build the executable program that the macro defines. Thus, if you set: NTTARGETFILE0=myfile.a the Build utility builds myfile.a as part of pass zero. If you do not set NTTARGETFILE0, the Build utility locates the specified subdirectory on pass zero, includes the makefile.inc in that subdirectory, and follows any default rules that this file contains [url] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ddtools/hh/ddtools/Build_Ref__DDK_fdff7531-6133-4723-a663-92ec64278e52.xml.asp[/url] |
|