diff options
author | 2016-10-07 14:11:27 +0100 | |
---|---|---|
committer | 2016-10-07 14:30:01 +0100 | |
commit | 44222fc2300cd43bb52e5c1ac7050e27fc4c6b6e (patch) | |
tree | 0c6b10903d52c7d614dfeb31bd33aac324eecdeb /examples/udpfwd | |
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 'examples/udpfwd')
-rw-r--r-- | examples/udpfwd/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 |