diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-06 02:24:51 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-06 02:24:51 +0000 |
commit | afc4d4e0f44885177afa727309b416651a14c57f (patch) | |
tree | 2911b74e834fff3e0eacbb4a23288c30d3def50e /Nt32Pkg/Sec | |
parent | caf45c986f5f0e02c52f9e50b46c539ac41f80da (diff) | |
download | edk2-afc4d4e0f44885177afa727309b416651a14c57f.zip edk2-afc4d4e0f44885177afa727309b416651a14c57f.tar.gz edk2-afc4d4e0f44885177afa727309b416651a14c57f.tar.bz2 |
Add cleanall target
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3089 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/Sec')
-rw-r--r-- | Nt32Pkg/Sec/Makefile | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Nt32Pkg/Sec/Makefile b/Nt32Pkg/Sec/Makefile index 6ed3285..87eb214 100644 --- a/Nt32Pkg/Sec/Makefile +++ b/Nt32Pkg/Sec/Makefile @@ -74,13 +74,18 @@ $(OUTPUT_DIR)\.\SecMain.obj : $(MODULE_DIR)\SecMain.c "$(CC)" $(CC_FLAGS) $(INC) /Fo$@ $(MODULE_DIR)\SecMain.c
clean:
- - @if exist $(DEBUG_DIR)\AutoGen.c del $(DEBUG_DIR)\AutoGen.c > NUL
- del $(DEBUG_DIR)\AutoGen.h > NUL
- del $(OUTPUT_DIR)\.\*.obj > NUL
- del $(MODULE_BUILD_DIR)\makefile > NUL
- del $(MODULE_BUILD_DIR)\*.idb > NUL
- del $(MODULE_BUILD_DIR)\*.pdb > NUL
- del $(BIN_DIR)\SecMain.exe > NUL
- del $(BIN_DIR)\SecMain.pdb > NUL
+# - @if exist $(DEBUG_DIR)\AutoGen.c del $(DEBUG_DIR)\AutoGen.c > NUL
+# - @if exist $(DEBUG_DIR)\AutoGen.h del $(DEBUG_DIR)\AutoGen.h > NUL
+# - @if exist $(OUTPUT_DIR)\.\*.obj del $(OUTPUT_DIR)\.\*.obj > NUL
+# - @if exist $(MODULE_BUILD_DIR)\makefile del $(MODULE_BUILD_DIR)\makefile > NUL
+# - @if exist $(MODULE_BUILD_DIR)\*.idb del $(MODULE_BUILD_DIR)\*.idb > NUL
+# - @if exist $(MODULE_BUILD_DIR)\*.pdb del $(MODULE_BUILD_DIR)\*.pdb > NUL
+# - @if exist $(BIN_DIR)\SecMain.exe del $(BIN_DIR)\SecMain.exe > NUL
+# - @if exist $(BIN_DIR)\SecMain.pdb del $(BIN_DIR)\SecMain.pdb > NUL
+ - @rmdir /s /q $(OUTPUT_DIR) > NUL 2>&1
+
+cleanall:
+ - @rmdir /s /q $(OUTPUT_DIR) $(DEBUG_DIR) > NUL 2>&1
+ - @del /f /q *.pdb *.idb > NUL 2>&1
\ No newline at end of file |