Fix cbind test makefile.

newG2L
Salvatore Filippone 4 years ago
parent b05679fde4
commit cdba3a17b6

@ -5,11 +5,11 @@ INCLUDEDIR=$(TOP)/include
MODDIR=$(TOP)/modules/ MODDIR=$(TOP)/modules/
HERE=../.. HERE=../..
FINCLUDES=$(FMFLAG). $(FMFLAG)$(HERE) $(FMFLAG)$(MODDIR) FINCLUDES=$(FMFLAG). $(FMFLAG)$(HERE) $(FMFLAG)$(MODDIR)
CINCLUDES=-I. -I$(HERE) -I$(INCLUDEDIR) CINCLUDES=-I. -I$(HERE) -I$(INCLUDEDIR)
PSBC_LIBS= -L$(LIBDIR) -lpsb_cbind PSBC_LIBS= -L$(LIBDIR) -lpsb_cbind
PSB_LIBS=-lpsb_krylov -lpsb_prec -lpsb_base -L$(LIBDIR) PSB_LIBS=-lpsb_util -lpsb_krylov -lpsb_prec -lpsb_base -L$(LIBDIR)
# #
# Compilers and such # Compilers and such
@ -17,11 +17,15 @@ PSB_LIBS=-lpsb_krylov -lpsb_prec -lpsb_base -L$(LIBDIR)
EXEDIR=./runs EXEDIR=./runs
all: ppdec all: ppdec build
ppdec: ppdec.o ppdec: ppdec.o
$(MPFC) ppdec.o -o ppdec $(PSBC_LIBS) $(PSB_LIBS) $(PSBLDLIBS) -lm -lgfortran $(MPFC) ppdec.o -o ppdec $(PSBC_LIBS) $(PSB_LIBS) $(PSBLDLIBS) -lm -lgfortran
/bin/mv ppdec $(EXEDIR) /bin/mv ppdec $(EXEDIR)
build: build.o
$(MPFC) build.o -o build $(PSBC_LIBS) $(PSB_LIBS) $(PSBLDLIBS) -lm -lgfortran
/bin/mv build $(EXEDIR)
# \ # \
# -lifcore -lifcoremt -lguide -limf -lirc -lintlc -lcxaguard -L/opt/intel/fc/10.0.023/lib/ -lm # -lifcore -lifcoremt -lguide -limf -lirc -lintlc -lcxaguard -L/opt/intel/fc/10.0.023/lib/ -lm
@ -31,14 +35,12 @@ ppdec: ppdec.o
$(MPCC) $(CCOPT) $(CINCLUDES) $(CDEFINES) -c $< $(MPCC) $(CCOPT) $(CINCLUDES) $(CDEFINES) -c $<
clean: clean:
/bin/rm -f ppdec.o $(EXEDIR)/ppdec /bin/rm -f ppdec.o build.o $(EXEDIR)/ppdec
verycleanlib: verycleanlib:
(cd ../..; make veryclean) (cd ../..; make veryclean)
lib: lib:
(cd ../../; make library) (cd ../../; make library)
tests: all tests: all
cd runs ; ./ppdec < ppde.inp cd runs ; ./ppdec < ppde.inp

Loading…
Cancel
Save