mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-11 16:39:05 +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).
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
include Make.inc
|
|
|
|
all: libd based precd kryld utild
|
|
@echo "====================================="
|
|
@echo "PSBLAS libraries Compilation Successful."
|
|
|
|
based: libd
|
|
precd utild: based
|
|
kryld: precd based
|
|
|
|
libd:
|
|
(if test ! -d lib ; then mkdir lib; fi)
|
|
based:
|
|
(cd base; $(MAKE) lib)
|
|
precd:
|
|
(cd prec; $(MAKE) lib )
|
|
kryld:
|
|
(cd krylov; $(MAKE) lib)
|
|
utild:
|
|
(cd util; $(MAKE) lib )
|
|
|
|
install:
|
|
(./mkdir.sh $(INSTALL_DIR) &&\
|
|
$(INSTALL_DATA) Make.inc $(INSTALL_DIR))
|
|
(./mkdir.sh $(INSTALL_LIBDIR) &&\
|
|
$(INSTALL_DATA) lib/*.a $(INSTALL_LIBDIR))
|
|
(./mkdir.sh $(INSTALL_INCLUDEDIR) && \
|
|
$(INSTALL_DATA) lib/*$(.mod) $(INSTALL_INCLUDEDIR))
|
|
(./mkdir.sh $(INSTALL_DOCSDIR) && \
|
|
/bin/cp -fr docs/*pdf docs/html $(INSTALL_DOCSDIR))
|
|
clean:
|
|
(cd base; $(MAKE) clean)
|
|
(cd prec; $(MAKE) clean )
|
|
(cd krylov; $(MAKE) clean)
|
|
(cd util; $(MAKE) clean)
|
|
|
|
cleanlib:
|
|
(cd lib; /bin/rm -f *.a *$(.mod) *$(.fh))
|
|
veryclean: cleanlib
|
|
(cd base; $(MAKE) veryclean)
|
|
(cd prec; $(MAKE) veryclean )
|
|
(cd krylov; $(MAKE) veryclean)
|
|
(cd util; $(MAKE) veryclean)
|
|
(cd test/fileread; $(MAKE) clean)
|
|
(cd test/pargen; $(MAKE) clean)
|
|
(cd test/util; $(MAKE) clean)
|
|
|