add 'clean' targets, make sure that 'make test' works after 'make clean'
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48488 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Makefile b/test/Makefile
index 8526755..f162978 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -12,3 +12,8 @@
PATH=$$PATH:$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts \
find $(TESTDIRS) \( -name '*.c' -or -name '*.cpp' -or -name '*.m' \) \
-print -exec ./TestRunner.sh {} \;
+
+clean::
+ rm -rf Output/
+
+.PHONY: all clean