about summary refs log tree commit diff homepage
path: root/unittests/Makefile
blob: 2a73b809a4a82c91dd88050271130f089903c23b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
##===- unittests/Makefile ----------------------------------*- Makefile -*-===##
# 
#                      The KLEE Symbolic Virtual Machine
# 
#  This file is distributed under the University of Illinois Open Source
#  License. See LICENSE.TXT for details.
# 
# ===----------------------------------------------------------------------===##

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 Ref Assignment

include $(LEVEL)/Makefile.common

# Remove -fno-rtti as this prevents typeid() being used
# in gtest
CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags))

clean::
	$(Verb) $(RM) -f *Tests