From 50b97737707db3815245553ec4887c400b80a1e1 Mon Sep 17 00:00:00 2001 From: StefanoPetrilli Date: Wed, 23 Aug 2023 11:04:57 +0200 Subject: [PATCH] fix missing include and modules dir when building --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fb87ee99..df972f7c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ include Make.inc -all: objs lib +all: libdir objs lib objs: amgp cbnd @@ -15,9 +15,9 @@ libdir: (if test ! -d modules ; then mkdir modules; fi;) ($(INSTALL_DATA) Make.inc include/Make.inc.amg4psblas) - amgp: cd amgprec && $(MAKE) objs + cbnd: amgp cd cbind && $(MAKE) objs @@ -39,6 +39,7 @@ install: lib mkdir -p $(INSTALL_SAMPLESDIR)/advanced && \ (cd samples/simple; /bin/cp -fr pdegen fileread $(INSTALL_SAMPLESDIR)/simple ) && \ (cd samples/advanced; /bin/cp -fr pdegen fileread $(INSTALL_SAMPLESDIR)/advanced ) + cleanlib: (cd lib; /bin/rm -f *.a *$(.mod) *$(.fh)) (cd include; /bin/rm -f *.a *$(.mod) *$(.fh))