#!/bin/csh -f
#
# SGI script to compile and link HDF C file using binaries installed
# in DIR for IRIX 6.4 with -n32 bit option.
#
# Required Option: C file to be compiled, without the ".c" extension
#
set COMPILER=cc
set CFLAGS='-ansi -n32 -mips4 -O -s'
set DIR=    
#
${COMPILER} ${CFLAGS} -o $1 $1'.c' -I${DIR}/include -L${DIR}/lib \
                      -lmfhdf -ldf -lz 
