Update compile script to run the generators
This commit is contained in:
parent
f4afa5d7ea
commit
80aeb3fc92
8
compile
8
compile
@ -6,4 +6,12 @@ CFLAGS="-g -Wall -Werror "
|
|||||||
XORSHIFT_SRC="xorshift.c ppm.c"
|
XORSHIFT_SRC="xorshift.c ppm.c"
|
||||||
XORSHIFT_OUT=xorshift
|
XORSHIFT_OUT=xorshift
|
||||||
|
|
||||||
|
echo "Clean outputs dir..."
|
||||||
|
rm -rf "./outputs/*"
|
||||||
|
|
||||||
|
echo -e "\nBuild xorshift generators..."
|
||||||
(set -x ; $CC $CFLAGS $XORSHIFT_SRC -o $XORSHIFT_OUT)
|
(set -x ; $CC $CFLAGS $XORSHIFT_SRC -o $XORSHIFT_OUT)
|
||||||
|
|
||||||
|
echo -e "\nTest xorshift generators..."
|
||||||
|
./xorshift
|
||||||
|
echo "Generated"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user