diff --git a/cbuild.sh b/cbuild.sh index 8ab6802..0f3c870 100755 --- a/cbuild.sh +++ b/cbuild.sh @@ -6,10 +6,10 @@ # --- USER CONFIG --- CC="gcc" -CFLAGS="-Wall -Wpedantic -std=c99" +CFLAGS="-Wall -Wpedantic" LDFLAGS="" LDLIBS="" -TARGET="foo" +TARGET="a.out" SRCDIR="src" OBJDIR="obj" MAKEFILE=".makefile" @@ -24,6 +24,41 @@ OBJ="$(find ${SRCDIR} -name '*\.c' | srcnum="$(find ${SRCDIR} -name '*\.c' -exec printf %c {} + | wc -c)" +usage() { + cat <