add run script

This commit is contained in:
K Tyl 2020-06-01 00:13:00 +01:00
parent 6bd1181be5
commit 135d658dd3
1 changed files with 16 additions and 0 deletions

16
run.sh Executable file
View File

@ -0,0 +1,16 @@
bin=./flark
output=image.ppm
viewer=$(which feh)
# generate makefile
cmake .
# build
make
# generate output image
rm $output
$bin >> $output
#display image
$viewer $output