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

40 lines
1011 B
Makefile

include Make.inc
all: library
library:
(if test ! -d lib ; then mkdir lib; fi)
(cd base; make lib)
(cd prec; make lib )
(cd krylov; make lib)
(cd util; make lib )
@echo "====================================="
@echo "PSBLAS libraries Compilation Successful."
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)