BaseTools/Source/C/MSmakefile.lib:
authorjljusten <jljusten@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 3 Oct 2007 06:52:56 +0000 (06:52 +0000)
committerjljusten <jljusten@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 3 Oct 2007 06:52:56 +0000 (06:52 +0000)
  Delete *.pdb on 'clean' similar to MSmakefile.app.

BaseTools/Source/C/VfrCompile/Makefile:
  Delete more intermediate files on 'clean' & 'cleanall'.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@797 7335b38e-4728-0410-8992-fb3ffe349368

Source/C/MSmakefile.lib
Source/C/VfrCompile/Makefile

index df732e3..763118f 100644 (file)
@@ -10,7 +10,7 @@ $(LIBRARY) : $(OBJECTS)
 
 .PHONY:clean
 clean:
-       del /f /q $(OBJECTS) > nul
+       del /f /q $(OBJECTS) *.pdb > nul
 
 .PHONY:cleanall
 cleanall:
index 3ddfbb9..f5f17fd 100644 (file)
@@ -25,3 +25,13 @@ DLexerBase.obj: Pccts\h\DLexerBase.cpp
 AParser.obj: Pccts\h\AParser.cpp
        $(CXX) -c $(CPPFLAGS) $(INC) $? -o $@
 
+EXTRA_CLEAN_OBJECTS = EfiVfrParser.cpp parser.dlg EfiVfrParser.h DLGLexer.cpp VfrCompile.cpp tokens.h DLGLexer.h
+
+clean: localClean
+cleanall: localClean localCleanall
+
+localClean:
+       -DEL $(EXTRA_CLEAN_OBJECTS)
+
+localCleanall:
+       pushd . & cd Pccts & $(MAKE) cleanall & popd