#! /bin/bash
#
cp legendre_polynomial.h /$HOME/include
#
gcc -c -g -Wall -I /$HOME/include legendre_polynomial.c
if [ $? -ne 0 ]; then
  echo "Compile error."
  exit
fi
#
mv legendre_polynomial.o ~/libc/legendre_polynomial.o
#
echo "Normal end of execution."
