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)$(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 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 psb_d_rsb_mat_mod.o: rsb_mod.o clean: /bin/rm -f $(OBJS) *$(.mod) verycleanlib: (cd ../..; make veryclean)