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.
14 lines
425 B
Makefile
14 lines
425 B
Makefile
MPICC = mpicc
|
|
CFLAGS += -g
|
|
all: example example2 easysendrecv nonblockingsendrecv
|
|
example: example.c
|
|
$(MPICC) $(CFLAGS) $(LDFLAGS) $? $(LDLIBS) -o $@
|
|
example2: example2.c
|
|
$(MPICC) $(CFLAGS) $(LDFLAGS) $? $(LDLIBS) -o $@
|
|
easysendrecv: easysendrecv.c
|
|
$(MPICC) $(CFLAGS) $(LDFLAGS) $? $(LDLIBS) -o $@
|
|
nonblockingsendrecv: nonblockingsendrecv.c
|
|
$(MPICC) $(CFLAGS) $(LDFLAGS) $? $(LDLIBS) -o $@
|
|
clean:
|
|
rm -f example example2
|