Hi, i have this dummy question,
i always use “build -cegZ” when building the driver.
Now i want to clean up everything just like “make clean”,
from help looks like /c should clean up the obj files.
But when i do “build -c” in the local dir, it just regenerates the *.obj.
What am i missing pls ?
xxxxx@hotmail.com wrote:
Hi, i have this dummy question,
i always use “build -cegZ” when building the driver.
Now i want to clean up everything just like “make clean”,
from help looks like /c should clean up the obj files.
But when i do “build -c” in the local dir, it just regenerates the *.obj.
What am i missing pls ?
You can do “build -c0” (that’s “see zero”). That stops after pass 0,
which most simple builds don’t use anyway.
Alternatively, since “build” is very good about keeping build products
in one place, you can just do
rmdir /s obj$(BUILD_ALT_DIR)
erase build$(BUILD_ALT_DIR).log
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Did you define a clean: target? (e.g., in your makefile.inc)
Tim,
you are the man, “-c0” worked,
Eusebio,
no, we’re not using makefile.inc. What we do is generate a VS lib file project.
In the “nmake”, we specify the command line in the “Build Command Line”, “Clean Command Line” …