#! /bin/bash
#
gfortran -c -g -Wall tsp_att48_test.f
if [ $? -ne 0 ]; then
  echo "Compile error."
  exit
fi
#
gfortran -o tsp_att48_test tsp_att48_test.o $HOME/libf77/tsp_att48.o
if [ $? -ne 0 ]; then
  echo "Load error."
  exit
fi
rm tsp_att48_test.o
#
./tsp_att48_test > tsp_att48_test.txt
if [ $? -ne 0 ]; then
  echo "Run error."
  exit
fi
rm tsp_att48_test
#
#  Create the image file.
#
gnuplot < att48_commands.txt
rm att48_commands.txt
rm att48_data.txt
#
echo "Normal end of execution."
