Added other example

This commit is contained in:
Fabio Durastante
2024-04-23 17:31:10 +02:00
parent 83363cdb49
commit a5f3ed981f
2 changed files with 17 additions and 1 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
MPICC = mpicc #The wrapper for the compiler
CFLAGS += -g #Useful for debug symbols
all: helloworld
all: helloworld hamlet
helloworld: helloworld.c
$(MPICC) $(CFLAGS) $(LDFLAGS) $? $(LDLIBS) -o $@
hamlet: hamlet.c
$(MPICC) $(CFLAGS) $(LDFLAGS) $? $(LDLIBS) -o $@
clean:
rm -f helloworld