about summary refs log tree commit diff homepage
path: root/unittests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Makefile')
-rwxr-xr-xunittests/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/unittests/Makefile b/unittests/Makefile
new file mode 100755
index 00000000..545d7fa7
--- /dev/null
+++ b/unittests/Makefile
@@ -0,0 +1,18 @@
+##===- unittests/Makefile ----------------------------------*- Makefile -*-===##
+
+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
+
+# FIXME: Parallel dirs is broken?
+DIRS = Expr Solver
+
+include $(LEVEL)/Makefile.common
+
+clean::
+	$(Verb) $(RM) -f *Tests