#
#  csh script to compile the elements of alscript
#  
#  type BUILD <machine>
#
#  e.g.   BUILD sun  or BUILD sgi or BUILD gcc
#
#
#  The script will compile the programs then copy the executables
#  to this directory.
#
#  You should then add this directory to your path, or add links
#  from a directory that is on your path (e.g. /usr/local/bin) 
# 
echo ""
echo "Trying to BUILD alscript "
echo ""
cd src
cp makefile.$1 makefile
touch *.o
make
echo ""
echo "Copying executables"
echo ""
cp alscript ..
cp msf2blc ..
cp clus2blc ..
cp alsnum ..
echo ""
echo " All should be complete!"
echo ""
