Files
mpi_test/Makefile
2021-04-30 14:09:13 -06:00

16 lines
287 B
Makefile

TARGETS = main one-sided
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 $@