From 80aeb3fc920e356787db89467ed1bf885f3a383f Mon Sep 17 00:00:00 2001 From: Abdelrahman Said Date: Fri, 22 Mar 2024 12:06:16 +0000 Subject: [PATCH] Update compile script to run the generators --- compile | 8 ++++++++ 1 file changed, 8 insertions(+) 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"