Allow debugging

This commit is contained in:
2026-05-14 21:39:44 +02:00
parent 5ecf3cdb8e
commit 4cb074feab
2 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
CFLAGS=-Wall -Wextra CFLAGS=-Wall -Wextra -ggdb
LIBWS=./vendor/libmicrohttpd/ LIBWS=./vendor/libmicrohttpd/
LIBWS_LIB=$(LIBWS)lib/libmicrohttpd.a LIBWS_LIB=$(LIBWS)lib/libmicrohttpd.a

View File

@@ -8,7 +8,8 @@ elif [ $1 = "run" ]; then
./output/main 5000 ./library ./output/main 5000 ./library
elif [ $1 = "debug" ]; then elif [ $1 = "debug" ]; then
echo "Debugging" make main
gf2 ./output/main
elif [ $1 = "clean" ]; then elif [ $1 = "clean" ]; then
rm -rf ./output/ rm -rf ./output/