Allow debugging
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||||
|
|||||||
3
build.sh
3
build.sh
@@ -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/
|
||||||
|
|||||||
Reference in New Issue
Block a user