From 9d06ea90cb0ea69ab83e913921e56637aca939d7 Mon Sep 17 00:00:00 2001 From: "Peter W. Draper" <p.w.draper@durham.ac.uk> Date: Thu, 12 Mar 2020 16:08:07 +0000 Subject: [PATCH] Abstract swiftmpiproxies into a non-SWIFT code --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9241da6..5468902 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CFLAGS = -g -O0 -Wall -all: swiftmpistepsim swiftmpiproxies +all: swiftmpistepsim swiftmpiproxies exchange-test swiftmpistepsim: swiftmpistepsim.c mpiuse.c mpiuse.h atomic.h cycle.h clocks.h clocks.c $(CC) $(CFLAGS) -o swiftmpistepsim swiftmpistepsim.c mpiuse.c clocks.c -I/usr/include/mpi -lmpi -lpthread @@ -8,6 +8,10 @@ swiftmpistepsim: swiftmpistepsim.c mpiuse.c mpiuse.h atomic.h cycle.h clocks.h c swiftmpiproxies: swiftmpiproxies.c mpiuse.c mpiuse.h atomic.h cycle.h clocks.h clocks.c $(CC) $(CFLAGS) -o swiftmpiproxies swiftmpiproxies.c mpiuse.c clocks.c -I/usr/include/mpi -lmpi -lpthread +exchange-test: exchange-test.c + $(CC) $(CFLAGS) -o exchange-test exchange-test.c -I/usr/include/mpi -lmpi -lpthread + clean: rm -f swiftmpistepsim rm -f swiftmpiproxies + rm -f exchange-test -- GitLab