mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-06 22:55:12 +00:00
Make.inc.in Makefile mlprec/impl/Makefile mlprec/impl/mld_d_bld_mlhier_array.f90 mlprec/impl/mld_d_dec_map_bld.f90 mlprec/impl/mld_d_hierarchy_bld.f90 mlprec/impl/mld_d_lev_aggrmap_bld.f90 mlprec/impl/mld_d_lev_aggrmat_asb.f90 mlprec/impl/mld_daggrmap_bld.f90 mlprec/impl/mld_daggrmat_asb.f90 mlprec/impl/mld_daggrmat_biz_asb.f90 mlprec/impl/mld_daggrmat_minnrg_asb.f90 mlprec/impl/mld_daggrmat_nosmth_asb.f90 mlprec/impl/mld_daggrmat_smth_asb.f90 mlprec/impl/mld_dcoarse_bld.f90 mlprec/impl/mld_dprecinit.F90 mlprec/mld_base_prec_type.F90 mlprec/mld_d_inner_mod.f90 tests/pdegen/mld_d_pde3d.f90 tests/pdegen/runs/ppde.inp Refactored map bld/mat asb routines. Now there is no need to call coarse_bld twice. To be cleaned up yet.
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
include Make.inc
|
|
|
|
|
|
all: library
|
|
|
|
library: libdir mlp
|
|
|
|
libdir:
|
|
(if test ! -d lib ; then mkdir lib; fi)
|
|
(if test ! -d include ; then mkdir include; fi)
|
|
($(INSTALL_DATA) Make.inc include/Make.inc.mld2p4)
|
|
|
|
|
|
mlp:
|
|
cd mlprec && $(MAKE) all
|
|
|
|
install: all
|
|
(./mkdir.sh $(INSTALL_DIR) &&\
|
|
$(INSTALL_DATA) Make.inc $(INSTALL_DIR)/Make.inc.MLD2P4)
|
|
(./mkdir.sh $(INSTALL_LIBDIR) &&\
|
|
$(INSTALL_DATA) lib/*.a $(INSTALL_LIBDIR))
|
|
(./mkdir.sh $(INSTALL_INCLUDEDIR) && \
|
|
$(INSTALL_DATA) include/*$(.mod) $(INSTALL_INCLUDEDIR))
|
|
(./mkdir.sh $(INSTALL_INCLUDEDIR) &&\
|
|
$(INSTALL_DATA) Make.inc $(INSTALL_INCLUDEDIR)/Make.inc.mld2p4)
|
|
(./mkdir.sh $(INSTALL_INCLUDEDIR) && \
|
|
$(INSTALL_DATA) include/*.h $(INSTALL_INCLUDEDIR))
|
|
(./mkdir.sh $(INSTALL_DOCSDIR) && \
|
|
/bin/cp -fr docs/*pdf docs/html $(INSTALL_DOCSDIR))
|
|
(./mkdir.sh $(INSTALL_DOCSDIR) && \
|
|
$(INSTALL_DATA) README LICENSE $(INSTALL_DOCSDIR))
|
|
(./mkdir.sh $(INSTALL_SAMPLESDIR) && ./mkdir.sh $(INSTALL_SAMPLESDIR)/simple &&\
|
|
./mkdir.sh $(INSTALL_SAMPLESDIR)/advanced && \
|
|
(cd examples; /bin/cp -fr pdegen fileread $(INSTALL_SAMPLESDIR)/simple ) && \
|
|
(cd tests; /bin/cp -fr pdegen fileread $(INSTALL_SAMPLESDIR)/advanced ))
|
|
cleanlib:
|
|
(cd lib; /bin/rm -f *.a *$(.mod) *$(.fh))
|
|
(cd include; /bin/rm -f *.a *$(.mod) *$(.fh))
|
|
|
|
veryclean: cleanlib
|
|
(cd mlprec; make veryclean)
|
|
(cd examples/fileread; make clean)
|
|
(cd examples/pdegen; make clean)
|
|
(cd tests/fileread; make clean)
|
|
(cd tests/pdegen; make clean)
|
|
|
|
check: all
|
|
make check -C tests/pdegen
|
|
|
|
clean:
|
|
(cd mlprec; make clean)
|