Script started on Wed Sep 20 18:03:39 2000

############################################################
# Do the default make (all: $(EXECUTABLES))
# 
# Note that, for linking purposes, ALL Fortran routine
# names (more precisely, all external names) have an 
# underscore appended---i.e. when you are linking object
# code generated from Fortran, and the linker complains that 
# it can't find 'foo_', it's actually looking for a Fortran
# routine name 'foo'.  C routine names, on the other hand,
# retain their identity in the "external world".  
############################################################
sgi1 1> make
f77 -g -64 -c fdemo2.f
f77 -g -64 -L/usr/local/lib fdemo2.o -o fdemo2
f77 -g -64 -c mysum.f
f77 -g -64 -L/usr/local/lib mysum.o -o mysum
f77 -g -64 -c tdvfrom.f
f77 -g -64 -c dvfrom.f
f77 -g -64 -L/usr/local/lib tdvfrom.o dvfrom.o -lp410f -o tdvfrom
f77 -g -64 -c tdvto.f
f77 -g -64 -c dvto.f
f77 -g -64 -L/usr/local/lib tdvto.o dvto.o -lp410f -o tdvto

############################################################
# Here's an alias which lists all the executables in a 
# directory using the fact that the -F flag to ls appends
# a '*' to the name of such files.  I've included it here 
# just to keep you thinking about tailoring your Unix 
# environment to suit your own needs.
############################################################
sgi1 2> alias lsx
/bin/ls -F | fgrep \* | sed s/\*//g

sgi1 3> lsx
fdemo2
mysum
tdvfrom
tdvto

############################################################
# Clean up ...
############################################################
sgi1 4> make clean
rm *.o
rm fdemo2 mysum tdvfrom tdvto

sgi1 5> lsx