build: correct example dpdk linking with pcap.

- take libpcap from configure information.
- clean up distclean.

Signed-off-by: Vitaliy Ivanov <vitaliyi@interfacemasters.com>
This commit is contained in:
Vitaliy Ivanov
2018-11-28 16:40:34 +02:00
parent 5429063546
commit ea7e7c753b
3 changed files with 10 additions and 3 deletions
+3
View File
@@ -54,6 +54,9 @@ $(NDPI_LIB_SHARED): $(OBJECTS)
clean:
/bin/rm -f $(NDPI_LIB_STATIC) $(OBJECTS) *.o *.so *.lo
distclean: clean
/bin/rm -f Makefile
install: $(NDPI_LIBS)
mkdir -p $(DESTDIR)$(libdir)
cp $(NDPI_LIBS) $(DESTDIR)$(libdir)/