Added easy send receive example

This commit is contained in:
Fabio Durastante
2024-04-24 16:49:35 +02:00
parent a5f3ed981f
commit 51b1f5f36b
2 changed files with 21 additions and 2 deletions
+3 -2
View File
@@ -1,10 +1,11 @@
MPICC = mpicc #The wrapper for the compiler
CFLAGS += -g #Useful for debug symbols
all: helloworld hamlet
all: helloworld hamlet easysendrec
helloworld: helloworld.c
$(MPICC) $(CFLAGS) $(LDFLAGS) $? $(LDLIBS) -o $@
hamlet: hamlet.c
$(MPICC) $(CFLAGS) $(LDFLAGS) $? $(LDLIBS) -o $@
easysendrec: easysendrcv.c
$(MPICC) $(CFLAGS) $(LDFLAGS) $? $(LDLIBS) -o $@
clean:
rm -f helloworld