aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'example/Makefile.in')
1 files changed, 4 insertions, 1 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index 8c18f94dc..a5ca6acce 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -5,7 +5,7 @@ LDFLAGS=$(LIBNDPI) -lpcap -lpthread @LDFLAGS@
OBJS=ndpiReader.o ndpi_util.o
PREFIX?=/usr/local
-all: ndpiReader
+all: ndpiReader @DPDK_TARGET@
ndpiReader: $(OBJS) $(LIBNDPI)
$(CXX) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS)
@@ -16,6 +16,9 @@ ndpiReader: $(OBJS) $(LIBNDPI)
install:
cp ndpiReader $(DESTDIR)$(PREFIX)/bin
+dpdk:
+ make -f Makefile.dpdk
+
clean:
/bin/rm -f *.o ndpiReader