From 49b63cd0eea11069b9b2b0ee8b01708d30fdf00d Mon Sep 17 00:00:00 2001 From: celso Date: Mon, 7 Nov 2022 20:26:16 -0300 Subject: [PATCH] added debug symbols to compile.sh --- compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.sh b/compile.sh index 9bfab4d..f45619d 100755 --- a/compile.sh +++ b/compile.sh @@ -1,4 +1,4 @@ #!/bin/bash [ "${1}" == "clean" ] && rm $(ls --color=no -1 | grep -v "\(\.c\|\.sh\)$") && exit -gcc -Wall -O2 -o "${1:0:-2}" "${1}" +gcc -Wall -Wextra -O2 -g -o "${1:0:-2}" "${1}" exit