[llvm-commits] [llvm] r68167 - /llvm/trunk/unittests/Makefile.unittest
Misha Brukman
brukman+llvm at gmail.com
Tue Mar 31 17:35:00 PDT 2009
Author: brukman
Date: Tue Mar 31 19:35:00 2009
New Revision: 68167
URL: http://llvm.org/viewvc/llvm-project?rev=68167&view=rev
Log:
include Makefile.common before using $(BuildMode) to get its definition
Modified:
llvm/trunk/unittests/Makefile.unittest
Modified: llvm/trunk/unittests/Makefile.unittest
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Makefile.unittest?rev=68167&r1=68166&r2=68167&view=diff
==============================================================================
--- llvm/trunk/unittests/Makefile.unittest (original)
+++ llvm/trunk/unittests/Makefile.unittest Tue Mar 31 19:35:00 2009
@@ -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
More information about the llvm-commits
mailing list