#!/bin/csh -f
# 
# HP 9.03  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='-Ae -O'
set DIR=
#
${COMPILER} ${CFLAGS} -o $1 $1'.c' -I${DIR}/include  -L${DIR}/lib \
                      -lmfhdf -ldf -ljpeg -lz
