#
#  If your C++ compiler is not compatible with g++ 3.2
#  then the prebuild libmpiCC.a won't work for you, so
#  you can use the source here to rebuild your own libmpiCC.a
#

# You might have to change this to whatever c++ compiler
# you're using:
CXX = g++

# And this should point to the installed HP-MPI
MPI_ROOT = /opt/hpmpi

all: libmpiCC.a

libmpiCC.a: intercepts.o mpicxx.o
	ar rcs libmpiCC.a intercepts.o mpicxx.o

.cc.o:
	$(CXX) -c $< -I$(MPI_ROOT)/include -DHPMP_BUILD_CXXBINDING
