# Makefile 

# Source file
SRC = mpi_integration.c

# number of process
NP = 4

# Compiler
CC = mpicc

# Executable name
EXE = ./out

all: $(EXE) 

$(EXE): $(SRC)
	$(CC) -o $(EXE) $(SRC) 

clean:
	rm -f $(EXE)

run:
	mpirun -np $(NP) $(EXE) 
