Fixes for samples install

savebcmatch
Salvatore Filippone 4 years ago
parent 555d7433b7
commit 6dddaaa77b

@ -33,8 +33,8 @@ install: all
mkdir -p $(INSTALL_SAMPLESDIR) && \ mkdir -p $(INSTALL_SAMPLESDIR) && \
mkdir -p $(INSTALL_SAMPLESDIR)/simple &&\ mkdir -p $(INSTALL_SAMPLESDIR)/simple &&\
mkdir -p $(INSTALL_SAMPLESDIR)/advanced && \ mkdir -p $(INSTALL_SAMPLESDIR)/advanced && \
(cd examples; /bin/cp -fr pdegen fileread $(INSTALL_SAMPLESDIR)/simple ) && \ (cd samples/simple; /bin/cp -fr pdegen fileread $(INSTALL_SAMPLESDIR)/simple ) && \
(cd tests; /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))
@ -42,13 +42,13 @@ cleanlib:
veryclean: cleanlib veryclean: cleanlib
(cd amgprec; make veryclean) (cd amgprec; make veryclean)
(cd examples/fileread; make clean) (cd samples/simple/fileread; make clean)
(cd examples/pdegen; make clean) (cd samples/simple/pdegen; make clean)
(cd tests/fileread; make clean) (cd samples/advanced/fileread; make clean)
(cd tests/pdegen; make clean) (cd samples/advanced/pdegen; make clean)
check: all check: all
make check -C tests/pdegen make check -C samples/advanced/pdegen
clean: clean:
(cd amgprec; make clean) (cd amgprec; make clean)

@ -1,4 +1,4 @@
AMGDIR=../.. AMGDIR=../../..
AMGINCDIR=$(AMGDIR)/include AMGINCDIR=$(AMGDIR)/include
include $(AMGINCDIR)/Make.inc.amg4psblas include $(AMGINCDIR)/Make.inc.amg4psblas
AMGMODDIR=$(AMGDIR)/modules AMGMODDIR=$(AMGDIR)/modules

@ -1,4 +1,4 @@
AMGDIR=../.. AMGDIR=../../..
AMGINCDIR=$(AMGDIR)/include AMGINCDIR=$(AMGDIR)/include
include $(AMGINCDIR)/Make.inc.amg4psblas include $(AMGINCDIR)/Make.inc.amg4psblas
AMGMODDIR=$(AMGDIR)/modules AMGMODDIR=$(AMGDIR)/modules

@ -1,4 +1,4 @@
AMGDIR=../.. AMGDIR=../../..
AMGINCDIR=$(AMGDIR)/include AMGINCDIR=$(AMGDIR)/include
include $(AMGINCDIR)/Make.inc.amg4psblas include $(AMGINCDIR)/Make.inc.amg4psblas
AMGMODDIR=$(AMGDIR)/modules AMGMODDIR=$(AMGDIR)/modules

@ -1,4 +1,4 @@
AMGDIR=../.. AMGDIR=../../..
AMGINCDIR=$(AMGDIR)/include AMGINCDIR=$(AMGDIR)/include
include $(AMGINCDIR)/Make.inc.amg4psblas include $(AMGINCDIR)/Make.inc.amg4psblas
AMGMODDIR=$(AMGDIR)/modules AMGMODDIR=$(AMGDIR)/modules
Loading…
Cancel
Save