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: $(EXEDIR)/spde $(EXEDIR)/ppde # FIXME: tp.c seems a ghost source ! # $(EXEDIR)/tp check: all cd $(EXEDIR) ; ./ppde < ppde.inp ppde: ppde.o data_input.o $(F90LINK) ppde.o data_input.o -o ppde $(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS) spde: spde.o data_input.o $(F90LINK) spde.o data_input.o -o spde $(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS) #tp: tp.o data_input.o # $(F90LINK) tp.o data_input.o -o tp $(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS) #$(EXEDIR)/tp: tp # /bin/cp tp $(EXEDIR) $(EXEDIR)/ppde: ppde /bin/cp ppde $(EXEDIR) $(EXEDIR)/spde: spde /bin/cp 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)