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.
amg4psblas/Makefile

28 lines
554 B
Makefile

include Make.inc
all: library
library: libdir mlp kryl
libdir:
(if test ! -d lib ; then mkdir lib; fi)
mlp:
(cd mlprec; make lib)
kryl:
(cd krylov; make symlink)
(cd krylov; make lib)
install:
($(INSTALL) -d $(INSTALL_DIR)/lib &&\
$(INSTALL_DATA) lib/*.a $(INSTALL_DIR)/lib)
($(INSTALL) -d $(INSTALL_DIR)/include && \
$(INSTALL_DATA) lib/*$(.mod) $(INSTALL_DIR)/include)
veryclean:
(cd mlprec; make veryclean)
(cd krylov; make veryclean)
(cd lib; /bin/rm -f *.a *$(.mod))
18 years ago
clean:
(cd mlprec; make clean)
(cd krylov; make clean)