aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'example/Makefile.in')
-rw-r--r--example/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index bf218f503..ad75295cb 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -1,9 +1,10 @@
CC=@CC@
+CXX=@CXX@
CFLAGS=-g -I../src/include @CFLAGS@
LIBNDPI=../src/lib/libndpi.a
LDFLAGS=$(LIBNDPI) @PCAP_LIB@ -lpthread @LDFLAGS@
OBJS=ndpiReader.o ndpi_util.o
-PREFIX?=/usr/local
+PREFIX?=@prefix@
all: ndpiReader @DPDK_TARGET@
@@ -22,6 +23,9 @@ install:
dpdk:
make -f Makefile.dpdk
+check:
+ cppcheck --template='{file}:{line}:{severity}:{message}' --quiet --enable=all --force -I../src/include -I/usr/local/include/json-c *.c
+
clean:
/bin/rm -f *.o ndpiReader ndpiReader.dpdk
/bin/rm -f .*.dpdk.cmd .*.o.cmd *.dpdk.map .*.o.d