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.
34 lines
688 B
Makefile
34 lines
688 B
Makefile
MLDDIR=../..
|
|
include $(MLDDIR)/Make.inc
|
|
PSBDIR=$(PSBLASDIR)/lib/
|
|
MLDLIBDIR=$(MLDDIR)/lib
|
|
MLD_LIB=-L$(MLDLIBDIR) -lmld_krylov -lmld_prec
|
|
PSBLAS_LIB= -L$(PSBDIR) -lpsb_util -lpsb_base
|
|
FINCLUDES=$(FMFLAG). $(FMFLAG)$(MLDLIBDIR) $(FMFLAG)$(PSBDIR) $(FIFLAG).
|
|
|
|
|
|
EXEDIR=./runs
|
|
|
|
|
|
ppde: ppde.o
|
|
$(F90LINK) ppde.o -o ppde $(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv ppde $(EXEDIR)
|
|
|
|
spde: spde.o
|
|
$(F90LINK) spde.o -o spde $(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv spde $(EXEDIR)
|
|
|
|
.f90.o:
|
|
$(MPF90) $(F90COPT) $(FINCLUDES) $(FDEFINES) -c $<
|
|
|
|
clean:
|
|
/bin/rm -f ppde.o $(EXEDIR)/ppde spde.o $(EXEDIR)/spde
|
|
|
|
verycleanlib:
|
|
(cd ../..; make veryclean)
|
|
lib:
|
|
(cd ../../; make library)
|
|
|
|
|
|
|