TOP=/mnt/data/software/psctoolkit include $(TOP)/include/Make.inc.psblas LIBDIR=$(TOP)/lib INCLUDEDIR=$(TOP)/include MODDIR=$(TOP)/modules/ HERE=../.. FINCLUDES=$(FMFLAG). $(FMFLAG)$(HERE) $(FMFLAG)$(MODDIR) CINCLUDES=-I. -I$(HERE) -I$(INCLUDEDIR) PSBC_LIBS= -L$(LIBDIR) -lpsb_cbind PSB_LIBS=-lpsb_util -lpsb_krylov -lpsb_prec -lpsb_base -L$(LIBDIR) # # Compilers and such # EXEDIR=./runs all: ppdec build ppdec: ppdec.o $(MPFC) ppdec.o -o ppdec $(PSBC_LIBS) $(PSB_LIBS) $(PSBLDLIBS) -lm -lgfortran /bin/mv ppdec $(EXEDIR) .f90.o: $(MPFC) $(FCOPT) $(FINCLUDES) $(FDEFINES) -c $< .c.o: $(MPCC) $(CCOPT) $(CINCLUDES) $(CDEFINES) -c $< clean: /bin/rm -f ppdec.o build.o $(EXEDIR)/ppdec verycleanlib: (cd ../..; make veryclean) lib: (cd ../../; make library) tests: all cd runs ; ./ppdec < ppde.inp