#!/bin/tcsh -f if (!($#argv == 1)) then echo " " echo usage: \'glink source_file\' w/o the .o extension on the object_file echo " " exit endif if (-e {$1}.o) then g++ -Wall -L/usr/lib -lgsl -lgslcblas {$1}.o -o $1 else echo " " echo -------------------\> {$1}.o does not exist echo " " endif