#!/usr/local/bin/bash
  cd Source

  rm -f *.o

  for file in *.f ; do
   echo $file
   f90  -w -O4 -tune ev67 -arch ev67 -c  $file
  done

  for file in *.F ; do
   echo $file
   f90  -w -O4 -tune ev67 -arch ev67 -c $file
  done
  
  f90  -w -O4 -tune ev67 -arch ev67 -o ../MAPOST *.o -lm /usr/local/netcdf-3.4/lib/libnetcdf.a

  rm -f *.o
