make 'make clean' remove test binaries as well
[oota-llvm.git] / unittests / Makefile
1 ##===- unittests/Makefile ----------------------------------*- Makefile -*-===##
2 #
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
9
10 LEVEL = ..
11 include $(LEVEL)/Makefile.config
12
13 LIBRARYNAME = UnitTestMain
14 BUILD_ARCHIVE = 1
15 CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include/
16 CPP.Flags += -Wno-variadic-macros
17
18 PARALLEL_DIRS = ADT
19
20 include $(LEVEL)/Makefile.common
21
22 clean::
23         $(RM) -f *Tests