diff --git a/compile b/compile index fbb9b9f..456e139 100755 --- a/compile +++ b/compile @@ -6,4 +6,12 @@ CFLAGS="-g -Wall -Werror " XORSHIFT_SRC="xorshift.c ppm.c" XORSHIFT_OUT=xorshift +echo "Clean outputs dir..." +rm -rf "./outputs/*" + +echo -e "\nBuild xorshift generators..." (set -x ; $CC $CFLAGS $XORSHIFT_SRC -o $XORSHIFT_OUT) + +echo -e "\nTest xorshift generators..." +./xorshift +echo "Generated"