diff --git a/scripts/buildapp.sh b/scripts/buildapp.sh index cec0685..cef83ee 100755 --- a/scripts/buildapp.sh +++ b/scripts/buildapp.sh @@ -2,7 +2,7 @@ . `dirname $0`/flags.sh -function build() { +build() { if mkdir -p bin && \ cc $CFLAGS -c -o "bin/$1.o" src/*.c && \ @@ -16,7 +16,7 @@ function build() { fi } -function clean() { +clean() { rm -f bin/* }