From 4cb074feab090d4562bb6fce683f7079a3e435c5 Mon Sep 17 00:00:00 2001 From: ThoNohT Date: Thu, 14 May 2026 21:39:44 +0200 Subject: [PATCH] Allow debugging --- Makefile | 2 +- build.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 82de3dd..4615429 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CFLAGS=-Wall -Wextra +CFLAGS=-Wall -Wextra -ggdb LIBWS=./vendor/libmicrohttpd/ LIBWS_LIB=$(LIBWS)lib/libmicrohttpd.a diff --git a/build.sh b/build.sh index e231cb0..3dbb2df 100755 --- a/build.sh +++ b/build.sh @@ -8,7 +8,8 @@ elif [ $1 = "run" ]; then ./output/main 5000 ./library elif [ $1 = "debug" ]; then - echo "Debugging" + make main + gf2 ./output/main elif [ $1 = "clean" ]; then rm -rf ./output/