Added other example
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user