aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-06-13 17:02:01 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-06-13 17:02:01 +0200
commitbaa29b72a6a5e0fcf73aa96da5d055d51dc19b6f (patch)
tree5620730e74351e73ac68c34b0fdb34442cbc1eb8 /Makefile
parent1e19f09fa9c4b267a6bd4feb7601a305531d00eb (diff)
print total packets captured, reduced console spam and added VERBOSE mode to print some l3/l4 metadata, used ull instead of size_t as its size is architecture dependant
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 09aa23b5d..e001398c2 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,10 @@ CFLAGS += -fsanitize=address -fsanitize=undefined -fsanitize=leak
LIBS += -lasan -lubsan
endif
+ifeq ($(VERBOSE),yes)
+CFLAGS += -DVERBOSE
+endif
+
RM = rm -f
main: main.c