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