From 2e0020ad455f2e5d12f12914aa3e352fcb1c908f Mon Sep 17 00:00:00 2001 From: Salvatore Filippone Date: Fri, 23 Apr 2021 05:50:39 -0400 Subject: [PATCH] Makefile fixes for parallel builds --- Makefile | 7 ++++--- prec/Makefile | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 41caa3cd..5f17e119 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,9 @@ all: libd based precd kryld utild cbindd @echo "PSBLAS libraries Compilation Successful." based: libd -precd utild: based -kryld: precd based +precd: based +utild: based +kryld: precd cbindd: precd kryld utild @@ -15,7 +16,7 @@ libd: (if test ! -d include ; then mkdir include; fi; $(INSTALL_DATA) Make.inc include/Make.inc.psblas) (if test ! -d modules ; then mkdir modules; fi;) based: - $(MAKE) -C base lib + $(MAKE) -C base lib precd: $(MAKE) -C prec lib kryld: diff --git a/prec/Makefile b/prec/Makefile index ec5892fe..55a81cd5 100644 --- a/prec/Makefile +++ b/prec/Makefile @@ -65,8 +65,9 @@ psb_s_ainv_fact_mod.o: psb_prec_const_mod.o psb_ainv_tools_mod.o psb_c_ainv_fact_mod.o: psb_prec_const_mod.o psb_ainv_tools_mod.o psb_z_ainv_fact_mod.o: psb_prec_const_mod.o psb_ainv_tools_mod.o psb_ainv_tools_mod.o: psb_c_ainv_tools_mod.o psb_d_ainv_tools_mod.o psb_s_ainv_tools_mod.o psb_z_ainv_tools_mod.o -psb_biconjg_mod.o: psb_prec_const_mod.o psb_c_biconjg_mod.o \ +psb_biconjg_mod.o: psb_c_biconjg_mod.o \ psb_d_biconjg_mod.o psb_s_biconjg_mod.o psb_z_biconjg_mod.o +psb_c_biconjg_mod.o psb_d_biconjg_mod.o psb_s_biconjg_mod.o psb_z_biconjg_mod.o: psb_prec_const_mod.o psb_c_invt_fact_mod.o: psb_prec_const_mod.o psb_c_ilu_fact_mod.o psb_d_invt_fact_mod.o: psb_prec_const_mod.o psb_d_ilu_fact_mod.o psb_s_invt_fact_mod.o: psb_prec_const_mod.o psb_s_ilu_fact_mod.o