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
659 B
Makefile
40 lines
659 B
Makefile
BASEDIR=../..
|
|
INCDIR=$(BASEDIR)/include
|
|
include $(INCDIR)/Make.inc.psblas
|
|
#
|
|
# Libraries used
|
|
LIBDIR=$(BASEDIR)/lib
|
|
PSBLAS_LIB= -L$(LIBDIR) -lpsb_util -lpsb_krylov -lpsb_prec -lpsb_base
|
|
LDLIBS=$(PSBLDLIBS)
|
|
#
|
|
# Compilers and such
|
|
#
|
|
CCOPT= -g
|
|
FINCLUDES=$(FMFLAG)$(INCDIR) $(FMFLAG).
|
|
|
|
|
|
EXEDIR=./runs
|
|
|
|
all: hello pingpong
|
|
|
|
hello: hello.o
|
|
$(FLINK) hello.o -o hello $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv hello $(EXEDIR)
|
|
|
|
pingpong: pingpong.o
|
|
$(FLINK) pingpong.o -o pingpong $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv pingpong $(EXEDIR)
|
|
|
|
|
|
|
|
clean:
|
|
/bin/rm -f hello.o pingpong.o
|
|
$(EXEDIR)/hello
|
|
verycleanlib:
|
|
(cd ../..; make veryclean)
|
|
lib:
|
|
(cd ../../; make library)
|
|
|
|
|
|
|