echo 'Build the program: edrchk.out' echo 'Source code must exist in your default directory' echo 'Build has been tested on a SUN4/UNIX workstation' echo 'f77 compiler used in the build function' echo 'Compile the fsubs.for source code' f77 -c fsubs.for echo 'Compile the csubs.c source code' cc -c csubs.c echo 'Compile the edrchk.for source code and create executable module' echo 'Ignore warning messages' f77 -c edrchk.for f77 -o edrchk.out -Bstatic edrchk.o fsubs.o csubs.o echo 'compile and link the addlab program' cc -o addlab.out -Bstatic addlab.c