1
PARMETIS = ${HOME}/code/software/ParMetis-3.1
2
#PARMETIS = /usr/src/ParMetis-3.1
4
CFLAGS = `pkg-config --cflags dolfin` -I$(PARMETIS) -I$(PARMETIS)/METISLib
5
LIBS = `pkg-config --libs dolfin` -L$(PARMETIS) -lparmetis -lmetis
6
CXX = `pkg-config --variable=compiler dolfin`
8
DEST = dolfin-parallel-test
16
-rm -f *.o core *.core $(OBJECTS) $(DEST)
19
$(CXX) -o $@ $(OBJECTS) $(CFLAGS) $(LIBS)
22
$(CXX) $(CFLAGS) -c $<