add run script
This commit is contained in:
parent
6bd1181be5
commit
135d658dd3
16
run.sh
Executable file
16
run.sh
Executable 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
|
Loading…
x
Reference in New Issue
Block a user