The MPICH implementation provides the commands mpicc and mpif77 as well as Makefile examples in /usr/local/mpi/examples/Makefile.in