fix missing include and modules dir when building

pull/4/head
StefanoPetrilli 1 year ago
parent dd7cb86775
commit 50b9773770

@ -1,7 +1,7 @@
include Make.inc include Make.inc
all: objs lib all: libdir objs lib
objs: amgp cbnd objs: amgp cbnd
@ -15,9 +15,9 @@ libdir:
(if test ! -d modules ; then mkdir modules; fi;) (if test ! -d modules ; then mkdir modules; fi;)
($(INSTALL_DATA) Make.inc include/Make.inc.amg4psblas) ($(INSTALL_DATA) Make.inc include/Make.inc.amg4psblas)
amgp: amgp:
cd amgprec && $(MAKE) objs cd amgprec && $(MAKE) objs
cbnd: amgp cbnd: amgp
cd cbind && $(MAKE) objs cd cbind && $(MAKE) objs
@ -39,6 +39,7 @@ install: lib
mkdir -p $(INSTALL_SAMPLESDIR)/advanced && \ mkdir -p $(INSTALL_SAMPLESDIR)/advanced && \
(cd samples/simple; /bin/cp -fr pdegen fileread $(INSTALL_SAMPLESDIR)/simple ) && \ (cd samples/simple; /bin/cp -fr pdegen fileread $(INSTALL_SAMPLESDIR)/simple ) && \
(cd samples/advanced; /bin/cp -fr pdegen fileread $(INSTALL_SAMPLESDIR)/advanced ) (cd samples/advanced; /bin/cp -fr pdegen fileread $(INSTALL_SAMPLESDIR)/advanced )
cleanlib: cleanlib:
(cd lib; /bin/rm -f *.a *$(.mod) *$(.fh)) (cd lib; /bin/rm -f *.a *$(.mod) *$(.fh))
(cd include; /bin/rm -f *.a *$(.mod) *$(.fh)) (cd include; /bin/rm -f *.a *$(.mod) *$(.fh))

Loading…
Cancel
Save