Add in a unittest for the one-use pattern matcher.
[oota-llvm.git] / unittests / Makefile
index 1ff5411102664a9b8ceff697976fa3b4128b9fbd..0f80814f98989362e7b19c1365350dc4ad8cd58c 100644 (file)
@@ -9,16 +9,11 @@
 
 LEVEL = ..
 
-include $(LEVEL)/Makefile.config
-
-LIBRARYNAME = UnitTestMain
-BUILD_ARCHIVE = 1
-CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include/
-CPP.Flags += -Wno-variadic-macros
+PARALLEL_DIRS = ADT Analysis Bitcode CodeGen DebugInfo \
+               ExecutionEngine IR MC Object Option Support Transforms
 
-PARALLEL_DIRS = ADT Support VMCore
-
-include $(LEVEL)/Makefile.common
+include $(LEVEL)/Makefile.config
+include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
 
 clean::
        $(Verb) $(RM) -f *Tests