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.
35 lines
540 B
Makefile
35 lines
540 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)$(LIBDIR) $(FMFLAG).
|
|
|
|
|
|
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)
|
|
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)
|
|
|
|
|
|
|