#!/bin/sh
# compile script for the C programs used by FormCalc
# last modified 25 Aug 02 jgm
# created a makefile which was modified to accomodate no mcc (mprep.exe is used to generate .c files)
# modified link libraries to accomodate cygwin mathlink lib ml32i2b

MCC=`csh -cf "which ${MCC:-mprep.exe}"`

if [ ! -x "$MCC" ] ; then
  echo "You need mcc (the MathLink C compiler) to compile ReadForm"
  exit
fi

make all