#!/bin/sh
#
# Invoked from one level down
#

PVM_ARCH=`pvmgetarch`

if [ "$PVM_ARCH" = "" ] ; then
  echo "makeall: Cannot locate PVM_ARCH"
  exit 1
fi

#
# Modify CFLAGS or FFLAGS to suit your computer system.
# Leave CC & FC "as is".
#

exec make -f ../../conf/$PVM_ARCH.def \
	-f Makefile \
	PVM_ARCH=$PVM_ARCH SHELL=/bin/sh \
	CC=../../bin/pvmcc CFLAGS="-DIMA_$PVM_ARCH -I../../include" \
	FC=../../bin/pvmf77 \
	LIBDIR=../../lib/$PVM_ARCH $*

exit 1
