mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-16 10:52:08 +00:00
. Make.inc.in base/comm/Makefile base/internals/Makefile base/internals/psi_exist_ovr_elem.f base/internals/psi_exist_ovr_elem.f90 base/internals/psi_list_search.f base/internals/psi_list_search.f90 base/internals/psi_srtlist.f90 base/internals/srtlist.f base/modules/Makefile base/serial/Makefile base/serial/f77 base/serial/f77/Makefile base/serial/f77/caxpby.f base/serial/f77/cnumbmm.f base/serial/f77/daxpby.f base/serial/f77/dnumbmm.f base/serial/f77/iaxpby.f base/serial/f77/saxpby.f base/serial/f77/snumbmm.f base/serial/f77/symbmm.f base/serial/f77/zaxpby.f base/serial/f77/znumbmm.f base/serial/psb_aspxpby.f90 base/serial/psi_c_serial_impl.f90 base/serial/psi_d_serial_impl.f90 base/serial/psi_i_serial_impl.f90 base/serial/psi_s_serial_impl.f90 base/serial/psi_z_serial_impl.f90 base/serial/smmp.f90 base/tools/Makefile configure.ac configure prec/psb_d_bjacprec.f90 prec/psb_d_diagprec.f90 prec/psb_d_nullprec.f90 test/fileread/Makefile test/hello/Makefile test/kernel/Makefile test/pargen/Makefile test/serial/Makefile test/torture/Makefile test/util/Makefile Merged changes from fixprec branch.
40 lines
790 B
Makefile
40 lines
790 B
Makefile
#
|
|
# Libraries used
|
|
#
|
|
BASEDIR=../..
|
|
INCDIR=$(BASEDIR)/include/
|
|
include $(INCDIR)/Make.inc.psblas
|
|
LIBDIR=$(BASEDIR)/lib/
|
|
PSBLAS_LIB= -L$(LIBDIR) -lpsb_util -lpsb_krylov -lpsb_prec -lpsb_base
|
|
LDLIBS=$(PSBLDLIBS)
|
|
|
|
FINCLUDES=$(FMFLAG)$(INCDIR) $(FMFLAG).
|
|
|
|
|
|
EXEDIR=./runs
|
|
|
|
|
|
all: d_matgen
|
|
|
|
psb_d_xyz_impl.o d_matgen.o: psb_d_xyz_mat_mod.o
|
|
|
|
d_matgen: d_matgen.o psb_d_xyz_mat_mod.o psb_d_xyz_impl.o
|
|
$(FLINK) $(LINKOPT) d_matgen.o psb_d_xyz_mat_mod.o psb_d_xyz_impl.o \
|
|
-o d_matgen $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/cp -p $(CPUPDFLAG) d_matgen $(EXEDIR)
|
|
# /bin/mv d_matgen $(EXEDIR)
|
|
|
|
check: all
|
|
cd runs && echo 5 | ./d_matgen
|
|
|
|
clean:
|
|
/bin/rm -f d_matgen.o \
|
|
psb_d_xyz_mat_mod.o psb_d_xyz_impl.o *$(.mod)
|
|
verycleanlib:
|
|
(cd ../..; make veryclean)
|
|
lib:
|
|
(cd ../../; make library)
|
|
|
|
|
|
|