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