mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-16 10:52:08 +00:00
base/modules/Makefile base/modules/psb_c_mat_mod.f03 base/modules/psb_d_csc_mat_mod.f03 base/modules/psb_d_csr_mat_mod.f03 base/modules/psb_d_mat_mod.f03 base/modules/psb_s_mat_mod.f03 base/modules/psb_tools_mod.f90 base/modules/psb_z_mat_mod.f03 base/psblas/psb_cdot.f90 base/psblas/psb_ddot.f90 base/serial/f03/Makefile base/serial/f03/psb_c_csr_impl.f03 base/serial/f03/psb_d_csc_impl.f03 base/tools/psb_cspasb.f90 base/tools/psb_dspasb.f90 test/fileread/runs/cfs.inp test/pargen/Makefile test/pargen/ppde.f90 test/pargen/psb_d_csc_impl.f03 test/pargen/psb_d_csc_mat_mod.f03 util/psb_mat_dist_mod.f90 Added CSC to the basic formats.
41 lines
638 B
Makefile
41 lines
638 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: ppde spde
|
|
|
|
ppde: ppde.o
|
|
$(F90LINK) -pg 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 ppde.o spde.o $(EXEDIR)/ppde
|
|
verycleanlib:
|
|
(cd ../..; make veryclean)
|
|
lib:
|
|
(cd ../../; make library)
|
|
|
|
|
|
|