diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2009-04-01 00:35:00 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2009-04-01 00:35:00 +0000 |
commit | cf26bab18410ffa10a1ab941c1238cb8cef028a7 (patch) | |
tree | 540c45087297ca81f29ef4dbbbc9a18b06fc8f13 /unittests/Makefile.unittest | |
parent | cdd50fc38598d75364c0f8ae2680a86c094c6659 (diff) | |
download | external_llvm-cf26bab18410ffa10a1ab941c1238cb8cef028a7.zip external_llvm-cf26bab18410ffa10a1ab941c1238cb8cef028a7.tar.gz external_llvm-cf26bab18410ffa10a1ab941c1238cb8cef028a7.tar.bz2 |
include Makefile.common before using $(BuildMode) to get its definition
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Makefile.unittest')
-rw-r--r-- | unittests/Makefile.unittest | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest index 5832d6a..1c75e44 100644 --- a/unittests/Makefile.unittest +++ b/unittests/Makefile.unittest @@ -14,11 +14,10 @@ # Set up variables for building a unit test. ifdef TESTNAME -LLVMUnitTestDir := $(LLVM_OBJ_ROOT)/$(BuildMode)/unittests -LLVMUnitTestExe := $(LLVMUnitTestDir)/$(TESTNAME)Tests$(EXEEXT) - include $(LEVEL)/Makefile.common +LLVMUnitTestExe = $(BuildMode)/$(TESTNAME)Tests$(EXEEXT) + CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include/ CPP.Flags += -Wno-variadic-macros LIBS += -lGoogleTest -lUnitTestMain |