#!/bin/csh -f # # Sun script to compile and link Fortran HDF program using binaries # installed in DIR # # Required option: Fortran file to be compiled, without the ".f" extension # set COMPILER=f77 set FFLAGS=-f set DIR= # ${COMPILER} ${FFLAGS} -o $1 $1'.f' -L${DIR}/lib -lmfhdf -ldf -ljpeg -lz