]> hackdaworld.org Git - physik/posic.git/blob - run
Makefile ok?
[physik/posic.git] / run
1 mkdir -p saves video
2 ./clean
3 ./posic $@
4 if [ "$?" == "0" ]; then
5         ./perms
6         argv="`echo $@ | grep -- '-V'`"
7         if [ "$argv" ] ; then
8                 base=`echo $argv | awk -F'-V' '{ print $2 }' | \
9                         awk '{ print $2 }'`
10                 rasmol -nodisplay < ${base}.scr
11                 ./ppm2avi
12         fi
13 fi