OPSYS=vax
HERE=`pwd`
if test ! -d bin ; then mkdir bin ; fi
if test ! -d data ; then mkdir data ; fi
if test ! -d help ; then mkdir help ; fi
if test ! -d lib ; then mkdir lib ; fi

cd $HERE/src/math
cat $HERE/src/make/Makefile.$OPSYS Makefile > /tmp/Makefile
make -f /tmp/Makefile

cd $HERE/src/lang
cat $HERE/src/make/Makefile.$OPSYS Makefile > /tmp/Makefile
make -f /tmp/Makefile

cd $HERE/src/grx
cat $HERE/src/make/Makefile.$OPSYS Makefile > /tmp/Makefile
make -f /tmp/Makefile

cd $HERE/src/intern
cat $HERE/src/make/Makefile.$OPSYS Makefile > /tmp/Makefile
make -f /tmp/Makefile

cd $HERE/src/main
cat $HERE/src/make/Makefile.$OPSYS Makefile > /tmp/Makefile
make -f /tmp/Makefile

cd $HERE/src/extern
cat $HERE/src/make/Makefile.$OPSYS Makefile > /tmp/Makefile
make -f /tmp/Makefile

cd $HERE/src/data ; $HERE/Lisa.sh MKDATA ; rm -rf .??*
