INCLUDES = -I/usr/include/mpi -I/usr/include/petsc -I/usr/include/libmesh
LIBS = -lmesh

out.030.gmv: ex8 pipe-mesh.unv
	./ex8 pipe-mesh.unv

ex8: ex8.o
	g++ $^ $(LIBS) -o $@

.C.o:
	g++ $< $(INCLUDES) -c -o $@

ex8.C: ex8.C.gz
	gunzip -c $< > $@

pipe-mesh.unv: pipe-mesh.unv.gz
	gunzip -c $< > $@

clean:
	rm -f *.o ex8 *~ *.gmv *.res
