From afc4d4e0f44885177afa727309b416651a14c57f Mon Sep 17 00:00:00 2001 From: klu2 Date: Fri, 6 Jul 2007 02:24:51 +0000 Subject: Add cleanall target git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3089 6f19259b-4bc3-4df7-8a09-765794883524 --- Nt32Pkg/Sec/Makefile | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/Nt32Pkg/Sec/Makefile b/Nt32Pkg/Sec/Makefile index 6ed32850bb..87eb214837 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 -- cgit v1.2.3