more useful tcp debug logs

This commit is contained in:
cozis
2023-11-03 02:09:54 +01:00
parent 6c17f55c51
commit cb5161a1c6
5 changed files with 130 additions and 53 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ HFILES = $(wildcard $(SRCDIR)/*.h)
OFILES = $(patsubst $(SRCDIR)/%.c, $(OBJDIR)/%.o, $(CFILES))
CFLAGS_WIN =
CFLAGS_LIN = -pthread
CFLAGS = -Wall -Wextra -g $(CFLAGS_$(OSTAG)) -DMICROTCP_DEBUG -DTCP_DEBUG
CFLAGS_LIN = -pthread -fsanitize=address,undefined
CFLAGS = -Wall -Wextra -g $(CFLAGS_$(OSTAG)) -DTCP_DEBUG #-DMICROTCP_DEBUG
LIBFILE = $(OUTDIR)/libmicrotcp.a