renamed libopt.a to libpsb_opt.a and building it and installing by default.
psblas3-type-indexed
Michele Martone 14 years ago
parent 1c3a1f938c
commit 0c224b963a

@ -1,6 +1,7 @@
include Make.inc
all: libd based precd kryld utild
(cd opt; $(MAKE) lib)
@echo "====================================="
@echo "PSBLAS libraries Compilation Successful."
@ -33,6 +34,7 @@ clean:
(cd prec; $(MAKE) clean )
(cd krylov; $(MAKE) clean)
(cd util; $(MAKE) clean)
(cd opt; $(MAKE) clean)
check: all
make check -C test/serial

@ -11,15 +11,26 @@ LDLIBS=$(PSBLDLIBS)
#
CCOPT= -g
FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG).
HERE=.
LIBMOD=*$(.mod)
LIBDIR=../lib
EXEDIR=./runs
OBJS=psb_d_ell_impl.o psb_d_ell_mat_mod.o rsb_mod.o psb_d_rsb_mat_mod.o
lib: libopt.a
libopt.a: $(OBJS)
ar cur libopt.a $(OBJS)
LIBNAME=libpsb_opt.a
lib: $(LIBNAME)
$(AR) $(HERE)/$(LIBNAME) $(OBJS)
$(RANLIB) $(HERE)/$(LIBNAME)
/bin/cp -p $(HERE)/$(LIBNAME) $(LIBDIR)
/bin/cp -p $(LIBMOD) $(LIBDIR)
libpsb_opt.a: $(OBJS)
ar cur libpsb_opt.a $(OBJS)
psb_d_ell_impl.o: psb_d_ell_mat_mod.o
psb_d_rsb_mat_mod.o: rsb_mod.o
@ -32,3 +43,4 @@ verycleanlib:

Loading…
Cancel
Save