H:\ProcMon>build -ceZ
BUILD: Object root set to: ==> objchk_w2k
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: /i switch ignored
BUILD: Compile and Link for i386
BUILD: Examining h:\procmon directory for files to compile.
BUILD: Compiling h:\procmon directory
BUILD: Linking h:\procmon directory
BUILD: Done提示如上
BUILD: Object root set to: ==> objchk_w2k
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: /i switch ignored
BUILD: Compile and Link for i386
BUILD: Examining h:\procmon directory for files to compile.
BUILD: Compiling h:\procmon directory
BUILD: Linking h:\procmon directory
BUILD: Done提示如上
根据您的提示信息,一个源文件都没有编译。
第二,makefile文件无须修改,都一样的。source文件请注意,必须指明所有源代码文件列举出来,这样build工具才能知道要编译哪些文件(h文件就不要写出来了),示范如下:
TARGETNAME = HelloWDM
TARGETPATH = obj
TARGETTYPE = DRIVERSOURCES = Main.c HelloWDM.rc
上面的目录名太长被我cut了一些就是因为放得太深了所以build没法工作