|
|
|
@ -10,6 +10,7 @@ kryld: precd based
|
|
|
|
|
|
|
|
|
|
libd:
|
|
|
|
|
(if test ! -d lib ; then mkdir lib; fi)
|
|
|
|
|
(if test ! -d include ; then mkdir include; $(INSTALL_DATA) Make.inc include/Make.inc.psblas; fi)
|
|
|
|
|
based:
|
|
|
|
|
cd base && $(MAKE) lib
|
|
|
|
|
precd:
|
|
|
|
@ -20,14 +21,16 @@ utild:
|
|
|
|
|
cd util&& $(MAKE) lib
|
|
|
|
|
|
|
|
|
|
install: all
|
|
|
|
|
(./mkdir.sh $(INSTALL_DIR) &&\
|
|
|
|
|
$(INSTALL_DATA) Make.inc $(INSTALL_DIR))
|
|
|
|
|
(./mkdir.sh $(INSTALL_INCLUDEDIR) &&\
|
|
|
|
|
$(INSTALL_DATA) Make.inc $(INSTALL_INCLUDEDIR)/Make.inc.psblas)
|
|
|
|
|
(./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))
|
|
|
|
|
(./mkdir.sh $(INSTALL_DOCSDIR) && \
|
|
|
|
|
$(INSTALL_DATA) README LICENSE $(INSTALL_DOCSDIR))
|
|
|
|
|
clean:
|
|
|
|
|
cd base && $(MAKE) clean
|
|
|
|
|
cd prec && $(MAKE) clean
|
|
|
|
@ -39,6 +42,8 @@ check: all
|
|
|
|
|
|
|
|
|
|
cleanlib:
|
|
|
|
|
(cd lib; /bin/rm -f *.a *$(.mod) *$(.fh))
|
|
|
|
|
(cd include; /bin/rm -f *.a *$(.mod) *$(.fh))
|
|
|
|
|
|
|
|
|
|
veryclean: cleanlib
|
|
|
|
|
cd base && $(MAKE) veryclean
|
|
|
|
|
cd prec && $(MAKE) veryclean
|
|
|
|
|