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 --- examples/udpfwd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/udpfwd/Makefile b/examples/udpfwd/Makefile index 8945e88..fae1c34 100644 --- a/examples/udpfwd/Makefile +++ b/examples/udpfwd/Makefile @@ -34,9 +34,9 @@ SRCS-y += pkt.c SRCS-y += main.c CFLAGS += $(WERROR_FLAGS) -CFLAGS += -I$(TLDK_ROOT)/$(RTE_TARGET)/include +CFLAGS += -I$(RTE_OUTPUT)/include -LDLIBS += -L$(TLDK_ROOT)/$(RTE_TARGET)/lib +LDLIBS += -L$(RTE_OUTPUT)/lib LDLIBS += -ltle_udp EXTRA_CFLAGS += -O3 -- cgit 1.2.3-korg