From e864787848b4d6c72f4236ebcca8de8e7f6f9899 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sun, 6 Dec 2020 17:01:06 +0100 Subject: Generic nDPIsrvd.h event handling integration and flow tracking with uthash. * aims to be re-usable for many different apps and use-cases Signed-off-by: Toni Uhlig --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 425c0b5cc..de961b8da 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ CC = gcc PROJECT_CFLAGS += -Wall -Wextra $(EXTRA_CFLAGS) -I. JSMN_CFLAGS := -DJSMN_STATIC=1 -DJSMN_STRICT=1 -Idependencies +UTHASH_CFLAGS := -Idependencies/uthash/src LIBS += -pthread -lpcap -lm GOCC = @@ -69,7 +70,7 @@ nDPIsrvd: nDPIsrvd.c utils.c $(CC) $(PROJECT_CFLAGS) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(STATIC_NDPI_LIB) $(LIBS) examples/c-captured/c-captured: examples/c-captured/c-captured.c - $(CC) $(PROJECT_CFLAGS) $(CFLAGS) $(JSMN_CFLAGS) $@.c -o $@ $(LDFLAGS) $(LIBS) + $(CC) $(PROJECT_CFLAGS) $(CFLAGS) $(JSMN_CFLAGS) $(UTHASH_CFLAGS) $@.c -o $@ $(LDFLAGS) $(LIBS) examples/c-json-stdout/c-json-stdout: examples/c-json-stdout/c-json-stdout.c $(CC) $(PROJECT_CFLAGS) $(CFLAGS) $(JSMN_CFLAGS) $@.c -o $@ $(LDFLAGS) $(LIBS) -- cgit v1.2.3