#!/bin/sh
HERC=hercules-1.70
HERCWIN=hercwin170
MAKE=make170
buildit170
echo "+===================================================="
echo "! Updating makefile for Win32 installation"
echo "+===================================================="
cd $HERC
mv makefile makefile.linux
cp makefile.w32 makefile
../rmcr makefile
cd ..
#patchit170 $HERCWIN $HERC
cd $HERC
#    The HOST_ARCH argument is optional.
#    It specifies the machine architecture, for setting options
#    on the C compiler. Possible values are:
#    i386 - Intel 386 and above
#    i586 - Pentium and above.
#    i686 - Pentium Pro and Pentium II.
echo "+===================================================="
echo "! Building Hercules"
echo "+===================================================="
make install HOST_ARCH=i686 # Pentium Pro and Pentium II.
