From 2670d026ad95ca3d0c61445f555130da19388ad2 Mon Sep 17 00:00:00 2001 From: Salvatore Filippone Date: Tue, 3 Jan 2012 14:46:54 +0000 Subject: [PATCH] psblas3: krylov/Makefile opt/Makefile util/Makefile Fix order of directory search for .mod files. --- krylov/Makefile | 2 +- opt/Makefile | 2 +- util/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/krylov/Makefile b/krylov/Makefile index fa4eb553..8f25f6af 100644 --- a/krylov/Makefile +++ b/krylov/Makefile @@ -22,7 +22,7 @@ LIBMOD=psb_krylov_mod$(.mod) LOCAL_MODS=$(MODOBJS:.o=$(.mod)) LIBNAME=$(METHDLIBNAME) -FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG). +FINCLUDES=$(FMFLAG). $(FMFLAG)$(LIBDIR) lib: $(OBJS) $(AR) $(HERE)/$(LIBNAME) $(OBJS) diff --git a/opt/Makefile b/opt/Makefile index 52c1fecd..f2b96bbd 100644 --- a/opt/Makefile +++ b/opt/Makefile @@ -10,7 +10,7 @@ LDLIBS=$(PSBLDLIBS) # Compilers and such # CCOPT= -g -FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG). +FINCLUDES=$(FMFLAG). $(FMFLAG)$(LIBDIR) HERE=. LIBMOD=*$(.mod) diff --git a/util/Makefile b/util/Makefile index fa0b49a4..a634f4f1 100644 --- a/util/Makefile +++ b/util/Makefile @@ -22,7 +22,7 @@ OBJS=$(MODOBJS) $(IMPLOBJS) $(COBJS) LIBMOD=psb_util_mod$(.mod) LOCAL_MODS=$(MODOBJS:.o=$(.mod)) LIBNAME=$(UTILLIBNAME) -FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG). +FINCLUDES=$(FMFLAG). $(FMFLAG)$(LIBDIR) lib: $(HERE)/$(LIBNAME)