added compile.sh
This commit is contained in:
commit
b0b8afa6d5
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
[ "${1}" == "clean" ] && rm $(ls --color=no -1 | grep -v "\(\.c\|\.sh\)$") && exit
|
||||
gcc -Wall -O2 -o "${1:0:-2}" "${1}"
|
||||
exit
|
Loading…
Reference in New Issue