#  Test the function Gamma_Function() and xGamma_Function() in the file
#  gamma_function.c.                 
#
#  Dependent on: 
#     Gamma_Table.dat                             
#
#  After downloading change permissions: chmod 744 testgammatable.sh 
#  Execute as ./testgammatable.sh (unless your profile has a PATH set to
#                                  this directory)

# Change! if gamma_function.c is in a different directory.
gcc -c -o a.o gamma_function.c

# Change! if testgammatable.c is in a different directory.
gcc -o cvers testgammatable.c a.o -lm

# Change! if you profile has a PATH set to this directory or you
# want to change the name of the output file.

./cvers > TestGammaTable.txt

# Delete temporary files.
rm cvers
rm a.o

