#!/bin/tcsh -f if (!($#argv == 1)) then echo usage: \'gcomp source_file\' w/o the .cc extension on the source_file exit endif if (-e {$1}.cc) then g++ -Wall -I/usr/include -c {$1}.cc else echo {$1}.cc does not exist endif