You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
815 B
Makefile
37 lines
815 B
Makefile
MLDDIR=../..
|
|
include $(MLDDIR)/Make.inc
|
|
include $(MLDDIR)/Make.inc
|
|
PSBLIBDIR=$(PSBLASDIR)/lib/
|
|
PSBINCDIR=$(PSBLASDIR)/include
|
|
MLDLIBDIR=$(MLDDIR)/lib
|
|
MLD_LIB=-L$(MLDLIBDIR) -lpsb_krylov -lmld_prec -lpsb_prec
|
|
PSBLAS_LIB= -L$(PSBLIBDIR) -lpsb_util -lpsb_base
|
|
FINCLUDES=$(FMFLAG). $(FMFLAG)$(MLDLIBDIR) $(FMFLAG)$(PSBINCDIR) $(FIFLAG).
|
|
|
|
|
|
EXEDIR=./runs
|
|
|
|
all: ppde spde
|
|
|
|
ppde: ppde.o data_input.o
|
|
$(F90LINK) ppde.o data_input.o -o ppde $(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv ppde $(EXEDIR)
|
|
|
|
spde: spde.o data_input.o
|
|
$(F90LINK) spde.o data_input.o -o spde $(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv spde $(EXEDIR)
|
|
|
|
ppde.o spde.o: data_input.o
|
|
|
|
|
|
clean:
|
|
/bin/rm -f data_input.o ppde.o $(EXEDIR)/ppde spde.o $(EXEDIR)/spde
|
|
|
|
verycleanlib:
|
|
(cd ../..; make veryclean)
|
|
lib:
|
|
(cd ../../; make library)
|
|
|
|
|
|
|