diff options
author | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2016-10-07 14:11:27 +0100 |
---|---|---|
committer | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2016-10-07 14:30:01 +0100 |
commit | 44222fc2300cd43bb52e5c1ac7050e27fc4c6b6e (patch) | |
tree | 0c6b10903d52c7d614dfeb31bd33aac324eecdeb /test/gtest | |
parent | 2fea8d3d522d31cb279a90b3e49a6f217878b35b (diff) |
makefiles: don't assume that output and target is always the same
Change-Id: I7d313c74e2daf4d75c5c11460bdb87737cd46851
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'test/gtest')
-rw-r--r-- | test/gtest/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gtest/Makefile b/test/gtest/Makefile index 5f47cc4..3e76eab 100644 --- a/test/gtest/Makefile +++ b/test/gtest/Makefile @@ -78,7 +78,7 @@ SRCS-y += test_tle_udp_stream.cpp CXXFLAGS += -std=c++11 CXXFLAGS += -I$(GTEST_DIR)/include CXXFLAGS += -I$(GMOCK_DIR)/include -CXXFLAGS += -I$(TLDK_ROOT)/$(RTE_TARGET)/include +CXXFLAGS += -I$(RTE_OUTPUT)/include LDFLAGS += -lstdc++ LDFLAGS += -L$(GMOCK_DIR) -lgmock @@ -105,7 +105,7 @@ LDLIBS += gtest-rfc.o LDFLAGS += -lstdc++ LDFLAGS += -L$(GMOCK_DIR) -lgmock -LDLIBS += -L$(TLDK_ROOT)/$(RTE_TARGET)/lib +LDLIBS += -L$(RTE_OUTPUT)/lib LDLIBS += -ltle_udp -ltle_dring include $(TLDK_ROOT)/mk/tle.app.mk |