Route ampif77 and ampif90 through ampiCC, factoring out duplicated code
[charm.git] / src / libs / ck-libs / ampi / ampif90
1 #!/bin/sh
2 CHARMBIN=`dirname $0`
3
4 export AMPICC_MODE='ampif'
5
6 cp -n $CHARMBIN/../include/mpif.h .
7 $CHARMBIN/ampiCC $@
8 status=$?
9 /bin/rm -f mpif.h
10 exit $status