Makefile
 README
 mkdir.sh

Fixed install target in makefile.
psblas3-type-indexed
Salvatore Filippone 17 years ago
parent e3c7ab13f7
commit 2204503570

@ -12,9 +12,9 @@ library:
@echo "PSBLAS libraries Compilation Successful."
install:
($(INSTALL) -d $(INSTALL_LIBDIR) &&\
(./mkdir.sh $(INSTALL_LIBDIR) &&\
$(INSTALL_DATA) lib/*.a $(INSTALL_LIBDIR))
($(INSTALL) -d $(INSTALL_INCLUDEDIR) && \
(./mkdir.sh $(INSTALL_INCLUDEDIR) && \
$(INSTALL_DATA) lib/*$(.mod) $(INSTALL_INCLUDEDIR))
clean:
(cd base; make clean)

@ -121,6 +121,9 @@ After you have Make.inc fixed, run
make
to compile the library; go to the test directory and its
subdirectories to get test programs done.
If you specify --prefix=/path you can do make install and the
libraries will be installed under /path/lib, while the module files
will be installed under /path/include.
SERIAL: We now provide an (experimental) option to run in serial

@ -0,0 +1,20 @@
#!/bin/sh
dir=$1;
dir_cmp=`echo $dir | sed 's./. /.g'`
if [ ! -d $dir ]
then
path=''
for cmp in $dir_cmp ; do
path="$path$cmp";
if [ ! -d $path ] ; then
mkdir $path; rc=$?;
if [ $rc != 0 ] ; then
echo "Error while making directory $path "
exit 1
fi
fi
done
fi
Loading…
Cancel
Save