added debug symbols to compile.sh
This commit is contained in:
parent
e574c1cb31
commit
49b63cd0ee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue