From 44222fc2300cd43bb52e5c1ac7050e27fc4c6b6e Mon Sep 17 00:00:00 2001 From: Konstantin Ananyev Date: Fri, 7 Oct 2016 14:11:27 +0100 Subject: makefiles: don't assume that output and target is always the same Change-Id: I7d313c74e2daf4d75c5c11460bdb87737cd46851 Signed-off-by: Konstantin Ananyev --- test/gtest/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/gtest/Makefile') 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 -- cgit 1.2.3-korg