#!/bin/csh -f
#
# Solaris script to compile and link HDF C file using binaries
# installed in DIR
#
# Required option: C file to be compiled, without the ".c" extension
#
set COMPILER=cc
set CFLAGS='-Xc -xO2'
set DIR=
# 
${COMPILER} ${CFLAGS} -o $1 $1'.c' -I${DIR}/include -L${DIR}/lib \
                      -lmfhdf -ldf -ljpeg -lz  -L/usr/lib -lnsl  
