Files
mpi_test/Makefile
Carl William Pearson b6d120bf29 add persistent ping-pong
2021-06-02 10:57:47 -06:00

19 lines
367 B
Makefile

TARGETS = main one-sided persistent
all: ${TARGETS}
.PHONY: clean
clean:
rm -f ${TARGETS} *.o
MPICXX := mpicxx
CXXFLAGS := -std=c++11 -Wall -Wextra -Wshadow -pedantic -O2
main: main.cpp Makefile
$(MPICXX) $(CXXFLAGS) $< -o $@
one-sided: one_sided.cpp Makefile
$(MPICXX) $(CXXFLAGS) $< -o $@
persistent: persistent.cpp Makefile
$(MPICXX) $(CXXFLAGS) $< -o $@