You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
363 B
Makefile
12 lines
363 B
Makefile
MPICC = mpicc #The wrapper for the compiler
|
|
CFLAGS += -g #Useful for debug symbols
|
|
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
|