You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
psblas3/Makefile

48 lines
1.1 KiB
Makefile

20 years ago
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))
20 years ago
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)
20 years ago