#!/bin/csh -f if ( ! -e configure.hycom ) then echo "Do 'configure' first" exit ( 1 ) endif if ( ${#argv} == 0 ) then set names = ( hycom ) set NAMES = ( HYCOM) else echo "*****" echo " " echo "Unrecognized compile target $1." echo " " echo " or just run compile with no target to build everything." echo " " echo "*****" exit(1) endif echo " " if ( ${#argv} == 0 ) then echo "**** Compiling HYCOM init hycom and post ****" else echo "**** No arguments are needed... Compiling HYCOM ****" endif /bin/rm -rf ./exec/* ( make -i -f makefile all ) exit(0)