From f0c55387cc2c52dea12904c44e23032c992ed8ad Mon Sep 17 00:00:00 2001 From: kmazouzi Date: Thu, 18 Feb 2016 17:18:05 +0100 Subject: [PATCH] fix mpi makefile --- lab1/Makefile | 4 ++-- lab1/pi_mpi.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lab1/Makefile b/lab1/Makefile index aa7f0df..e993575 100644 --- a/lab1/Makefile +++ b/lab1/Makefile @@ -21,8 +21,8 @@ pi_task: pi_task.o pi_omp: pi_omp.o $(GCC) $(CFLAGS) $(OMP_FLAG) -o $@ $^ -pi_mpi: pi_mpi.o - $(MPI) $(CFLAGS) -o $@ $^ +pi_mpi: + $(MPI) $(CFLAGS) -o $@ pi_mpi.c %.o :%.c $(GCC) $(CFLAGS) -c -o $@ $< diff --git a/lab1/pi_mpi.c b/lab1/pi_mpi.c index 3774ce2..442258e 100644 --- a/lab1/pi_mpi.c +++ b/lab1/pi_mpi.c @@ -1,6 +1,6 @@ #include #include -#include "mpi.h" +#include #define N 100000000 int main (int argc, char** argv) -- 1.7.10.4