@make 357 B

12345678910111213141516
  1. #!/bin/csh
  2. # USERS MUST CHANGE THESE !!!!!!
  3. set SWIFT_DIR=/home/hal/SWIFT
  4. set FORTRAN=ifort
  5. #set FFLAGS='-O -recursive'
  6. set FFLAGS='-O -recursive -fpe0 -traceback'
  7. foreach file (*.f)
  8. echo $file | set file2=`awk -F"." '{print$1}'`
  9. echo $file
  10. $FORTRAN $FFLAGS -o $file2 $file -L$SWIFT_DIR -lswift -lfxdr -lnumrec -lastro -lMT_rand
  11. end
  12. rm *.o