diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -18,7 +18,7 @@ bin/bench: obj/bench/main.o obj/bench/bench_window.o obj/bench/core_widget.o obj bin/evolver: obj/evolver/evolver.o obj/lib94.o @mkdir -p $(dir $@) - g++ ${CPP_ARGS} $^ -o $@ + g++ ${CPP_ARGS} $^ ${MPI_LD_ARGS} -o $@ bin/tabulator-mpi: obj/tabulator-mpi/source.o obj/lib94.o @mkdir -p $(dir $@) @@ -31,6 +31,10 @@ obj/bench/%.o: bench/%.cpp @mkdir -p $(dir $@) g++ -c ${CPP_ARGS} ${GTKMM_CPP_ARGS} $^ -o $@ +obj/evolver/%.o: evolver/%.cpp + @mkdir -p $(dir $@) + g++ -c ${CPP_ARGS} ${MPI_CPP_ARGS} $^ -o $@ + obj/tabulator-mpi/%.o: tabulator-mpi/%.cpp @mkdir -p $(dir $@) g++ -c ${CPP_ARGS} ${MPI_CPP_ARGS} $^ -o $@ |