Commit 40055b7e authored by James Caveen's avatar James Caveen

Added Makefile

parent 5a294ec2
##########################
# Makefile to build MPI laplace and MPI heat2d
#
#Author : James Caveen
#
SHELL=/bin/bash
#
# Mpi compiler
#
CC = mpicc
.c.o:
$(CC) $(CFLAGS) -c $<
EXEC=laplace heat2d
all : $(EXEC)
laplace : laplace.o
$(CC) -o $@ laplace.o
heat2d : mpi_heat2d.o
$(CC) -o $@ mpi_heat2d.o
clean:
rm -f *.o $(EXEC)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment