# $Id: G4MPI.gmk,v 1.3 2010/05/18 06:01:09 kmura Exp $
# $Name: geant4-09-04-beta-01 $
# ===========================================================
#  Makefile for building G4MPI (OpenMPI)
# ===========================================================

ifndef G4MPIROOT
  G4MPIROOT = /opt/ompi
endif

# additional flags
CXX := mpic++
CPPFLAGS += -I$(G4MPIROOT)/include -I$(G4MPIROOT)/include/openmpi

# to suppress compiler warnings for OpenMPI headers
CXXFLAGS := $(subst -Wall, , $(CXXFLAGS))
