mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-06 22:55:12 +00:00
Make.inc.in config/ax_f90_module_extension.m4 config/pac.m4 configure.ac configure examples/fileread/Makefile examples/pdegen/Makefile mlprec/Makefile mlprec/impl/Makefile mlprec/impl/level/Makefile mlprec/impl/smoother/Makefile mlprec/impl/solver/Makefile tests/fileread/Makefile tests/newslv/Makefile tests/pdegen/Makefile Changes from rpmtest branch. Should be working now.
33 lines
685 B
Makefile
33 lines
685 B
Makefile
MLDDIR=../..
|
|
MLDINCDIR=$(MLDDIR)/include
|
|
include $(MLDINCDIR)/Make.inc.mld2p4
|
|
MLDLIBDIR=$(MLDDIR)/lib
|
|
MLD_LIBS=-L$(MLDLIBDIR) -lpsb_krylov -lmld_prec -lpsb_prec
|
|
FINCLUDES=$(FMFLAG). $(FMFLAG)$(MLDINCDIR) $(PSBLAS_INCLUDES) $(FIFLAG).
|
|
|
|
PD3DOBJS=ppde3d.o data_input.o mld_d_tlu_solver.o mld_d_tlu_solver_impl.o
|
|
PSOBJS=spde.o data_input.o
|
|
EXEDIR=./runs
|
|
|
|
all: ppde3d
|
|
|
|
|
|
ppde3d: $(PD3DOBJS)
|
|
$(F90LINK) $(PD3DOBJS) -o ppde3d $(MLD_LIBS) $(PSBLAS_LIBS) $(LDLIBS)
|
|
/bin/mv ppde3d $(EXEDIR)
|
|
|
|
|
|
ppde3d.o mld_d_tlu_solver_impl.o: data_input.o mld_d_tlu_solver.o
|
|
|
|
|
|
clean:
|
|
/bin/rm -f $(PD3DOBJS) $(EXEDIR)/ppde3d
|
|
|
|
verycleanlib:
|
|
(cd ../..; make veryclean)
|
|
lib:
|
|
(cd ../../; make library)
|
|
|
|
|
|
|