#!/bin/csh -f # # SGI script to compile and link HDF FORTRAN file using binaries installed # in DIR for IRIX 5.3. # # Required Option: FORTRAN file to be compiled, without the ".f" extension # set COMPILER=f77 set FFLAGS='-O -s' set DIR= # ${COMPILER} ${FFLAGS} -o $1 $1'.f' -L${DIR}/lib -lmfhdf -ldf -ljpeg -lz