#!/bin/csh setenv CFITSIO /usr/local/pkg/dts/lib/cfitsio gcc $1.c -o $1 -I$CFITSIO -L$CFITSIO -lcfitsio -lm strip $1 # # for solaris, you need to include the socket and nsl libraries # # gcc $1.c -o $1 -I$CFITSIO -L$CFITSIO -lcfitsio -lm -lsocket -lnsl #