You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
psblas3/opt/Makefile

47 lines
712 B
Makefile

include ../Make.inc
#
# Libraries used
#
LIBDIR=../lib/
PSBLAS_LIB= -L$(LIBDIR) -lpsb_base
#-lpsb_util -lpsb_krylov -lpsb_prec -lpsb_base
LDLIBS=$(PSBLDLIBS)
#
# Compilers and such
#
CCOPT= -g
FINCLUDES=$(FMFLAG). $(FMFLAG)$(LIBDIR)
HERE=.
LIBMOD=*$(.mod)
LIBDIR=../lib
EXEDIR=./runs
OBJS=psb_d_ell_impl.o psb_d_ell_mat_mod.o
LIBNAME=libpsb_opt.a
lib: $(OBJS)
$(AR) $(HERE)/$(LIBNAME) $(OBJS)
$(RANLIB) $(HERE)/$(LIBNAME)
/bin/cp -p $(CPUPDFLAG) $(HERE)/$(LIBNAME) $(LIBDIR)
/bin/cp -p $(CPUPDFLAG) *$(.mod) $(LIBDIR)
libpsb_opt.a: $(OBJS)
ar cur libpsb_opt.a $(OBJS)
psb_d_ell_impl.o: psb_d_ell_mat_mod.o
clean:
/bin/rm -f $(OBJS) *$(.mod)
verycleanlib:
(cd ../..; make veryclean)