added debug symbols to compile.sh

This commit is contained in:
celso 2022-11-07 20:26:16 -03:00
parent e574c1cb31
commit 49b63cd0ee
1 changed files with 1 additions and 1 deletions

View File

@ -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