]> hackdaworld.org Git - physik/posic.git/blobdiff - run
new Makefile
[physik/posic.git] / run
diff --git a/run b/run
index 264a4aca518259049bfdeaea37f1c26e3d4885f4..c7d454ca1629a0d29a187c159bd479bf530bd0e3 100755 (executable)
--- a/run
+++ b/run
@@ -1,10 +1,11 @@
-mkdir -p saves video
-./clean
-./sic
+[ ! -d $1 ] && mkdir $1
+./clean $1
+./sic $@
 if [ "$?" == "0" ]; then
-       ./perms
+       #./perms
        if [ "$1" ] ; then
-               rasmol -nodisplay < $1.scr > /dev/null 2>&1
-               ./ppm2avi
+               ./visualize -d $1
+               #rasmol -32 -nodisplay < $1/visualize.scr > /dev/null 2>&1
+               ./ppm2avi $1
        fi
 fi