#!/bin/csh -f if ( ! -e configure.cpl ) then echo "Do 'configure' first" exit ( 1 ) endif if ( ${#argv} == 0 ) then set names = ( lib cpl ) set NAMES = ( LIB CPL) 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 NCEP Coupler ****" else echo "**** No arguments are needed... Compiling NCEP Coupler ****" endif echo " " /bin/rm -rf ./coupler_exec/* ( make -i -f makefile all ) exit(0)