mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-07 15:14:57 +00:00
base/newserial/Makefile base/newserial/psbn_base_mat_mod.f03 base/newserial/psbn_d_base_mat_mod.f03 base/newserial/psbn_d_coo_impl.f03 base/newserial/psbn_d_csr_impl.f03 base/newserial/psbn_d_csr_mat_mod.f03 base/newserial/psbn_mat_impl.f03 base/newserial/psbn_mat_mod.f03 base/serial/csr/dcsrsm.f test/pargen/runs/ppde.inp test/serial test/serial/Makefile test/serial/d_coo_matgen.f03 Added serial test directory. First tests of conversion COO-CSR
45 lines
804 B
Makefile
45 lines
804 B
Makefile
include ../../Make.inc
|
|
#
|
|
# Libraries used
|
|
#
|
|
LIBDIR=../../lib/
|
|
PSBLAS_LIB= -L$(LIBDIR) -lpsb_util -lpsb_krylov -lpsb_prec -lpsb_base
|
|
LDLIBS=$(PSBLDLIBS)
|
|
#
|
|
# Compilers and such
|
|
#
|
|
CCOPT= -g
|
|
FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG).
|
|
|
|
|
|
EXEDIR=./runs
|
|
|
|
all: d_coo_matgen
|
|
d_coo_matgen: d_coo_matgen.o
|
|
$(F90LINK) d_coo_matgen.o -o d_coo_matgen $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv d_coo_matgen $(EXEDIR)
|
|
|
|
#ppde spde
|
|
|
|
ppde: ppde.o
|
|
$(F90LINK) ppde.o -o ppde $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv ppde $(EXEDIR)
|
|
|
|
spde: spde.o
|
|
$(F90LINK) spde.o -o spde $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv spde $(EXEDIR)
|
|
|
|
.f90.o:
|
|
$(MPF90) $(F90COPT) $(FINCLUDES) $(FDEFINES) -c $<
|
|
|
|
|
|
clean:
|
|
/bin/rm -f d_coo_matgen.o tpg.o ppde.o spde.o $(EXEDIR)/ppde
|
|
verycleanlib:
|
|
(cd ../..; make veryclean)
|
|
lib:
|
|
(cd ../../; make library)
|
|
|
|
|
|
|