mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-11 00:19:03 +00:00
Changelog Make.inc.in Makefile README base/Makefile base/modules/Makefile base/modules/psb_c_base_mat_mod.f03 base/modules/psb_c_csc_mat_mod.f03 base/modules/psb_c_csr_mat_mod.f03 base/modules/psb_d_base_mat_mod.f03 base/modules/psb_d_csc_mat_mod.f03 base/modules/psb_d_csr_mat_mod.f03 base/modules/psb_s_base_mat_mod.f03 base/modules/psb_s_csc_mat_mod.f03 base/modules/psb_s_csr_mat_mod.f03 base/modules/psb_serial_mod.f90 base/modules/psb_z_base_mat_mod.f03 base/modules/psb_z_csc_mat_mod.f03 base/modules/psb_z_csr_mat_mod.f03 base/serial/Makefile base/serial/f03/psb_c_base_mat_impl.f03 base/serial/f03/psb_c_coo_impl.f03 base/serial/f03/psb_c_csc_impl.f03 base/serial/f03/psb_c_csr_impl.f03 base/serial/f03/psb_c_mat_impl.F03 base/serial/f03/psb_d_base_mat_impl.f03 base/serial/f03/psb_d_coo_impl.f03 base/serial/f03/psb_d_csc_impl.f03 base/serial/f03/psb_d_csr_impl.f03 base/serial/f03/psb_d_mat_impl.F03 base/serial/f03/psb_s_base_mat_impl.f03 base/serial/f03/psb_s_coo_impl.f03 base/serial/f03/psb_s_csc_impl.f03 base/serial/f03/psb_s_csr_impl.f03 base/serial/f03/psb_s_mat_impl.F03 base/serial/f03/psb_z_base_mat_impl.f03 base/serial/f03/psb_z_coo_impl.f03 base/serial/f03/psb_z_csc_impl.f03 base/serial/f03/psb_z_csr_impl.f03 base/serial/f03/psb_z_mat_impl.F03 prec/Makefile test/pargen/Makefile test/pargen/runs/ppde.inp Merged the psblas3-tmold branch. Now uses MOLD= where available, and %MOLD method otherwise. Works on GNU 4.6.0 (see README).
36 lines
839 B
Makefile
36 lines
839 B
Makefile
include ../Make.inc
|
|
|
|
HERE=.
|
|
LIBDIR=../lib
|
|
LIBNAME=$(BASELIBNAME)
|
|
LIBMOD=psb_sparse_mod$(.mod)
|
|
lib: mods sr cm in pb tl
|
|
/bin/cp -p $(HERE)/$(LIBNAME) $(LIBDIR)
|
|
/bin/cp -p $(LIBMOD) *$(.mod) $(LIBDIR)
|
|
|
|
sr cm in pb tl: mods
|
|
|
|
mods:
|
|
(cd modules; $(MAKE) lib LIBNAME=$(BASELIBNAME) F90="$(MPF90)" F90COPT="$(F90COPT) $(MPI_OPT)")
|
|
sr:
|
|
(cd serial; $(MAKE) lib LIBNAME=$(BASELIBNAME))
|
|
cm:
|
|
(cd comm; $(MAKE) lib LIBNAME=$(BASELIBNAME))
|
|
in:
|
|
(cd internals; $(MAKE) lib LIBNAME=$(BASELIBNAME))
|
|
pb:
|
|
(cd psblas; $(MAKE) lib LIBNAME=$(BASELIBNAME))
|
|
tl:
|
|
(cd tools; $(MAKE) lib LIBNAME=$(BASELIBNAME))
|
|
|
|
clean:
|
|
(cd modules; $(MAKE) clean)
|
|
(cd comm; $(MAKE) clean)
|
|
(cd internals; $(MAKE) clean)
|
|
(cd tools; $(MAKE) clean)
|
|
(cd serial; $(MAKE) clean)
|
|
(cd psblas; $(MAKE) clean)
|
|
|
|
veryclean: clean
|
|
/bin/rm -f $(HERE)/$(LIBNAME) $(LIBMOD) *$(.mod)
|