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