Delete MSVC intermediate files on "make clean" from tests.
authorZachary Turner <zturner@google.com>
Tue, 16 Dec 2014 16:48:19 +0000 (16:48 +0000)
committerZachary Turner <zturner@google.com>
Tue, 16 Dec 2014 16:48:19 +0000 (16:48 +0000)
lld-link shells out to MSVC for certain types of work, and this
results in some MSVC output files being generated even though
clang / lld are the compiler / linker.  This is expected, so we
make sure to clean these output files on make clean.

llvm-svn: 224345

lldb/test/make/Makefile.rules

index aff3160..6915030 100644 (file)
@@ -449,7 +449,9 @@ endif
 ifneq "$(DSYM)" ""
        $(RM) -r "$(DSYM)"
 endif
-       
+ifeq "$(OS)" "Windows_NT"
+       $(RM) "$(EXE).manifest" $(wildcard *.pdb *.ilk)
+endif
 
 #----------------------------------------------------------------------
 # From http://blog.melski.net/tag/debugging-makefiles/