Makefile
 modules/Makefile

Fix makefiles for Cray compilation
psblas3-type-indexed
Salvatore Filippone 13 years ago
parent 2c3d480cd0
commit 8219915579

@ -3,10 +3,10 @@ include ../Make.inc
HERE=. HERE=.
LIBDIR=../lib LIBDIR=../lib
LIBNAME=$(BASELIBNAME) LIBNAME=$(BASELIBNAME)
LIBMOD=psb_base_mod$(.mod)
lib: mods sr cm in pb tl lib: mods sr cm in pb tl
/bin/cp -p $(CPUPDFLAG) $(HERE)/$(LIBNAME) $(LIBDIR) /bin/cp -p $(CPUPDFLAG) $(HERE)/$(LIBNAME) $(LIBDIR)
/bin/cp -p $(CPUPDFLAG) $(LIBMOD) *$(.mod) $(LIBDIR) /bin/cp -p $(CPUPDFLAG) *$(.mod) $(LIBDIR)
sr cm in pb tl: mods sr cm in pb tl: mods

@ -32,7 +32,6 @@ UTIL_MODS = psb_string_mod.o psb_desc_const_mod.o psb_indx_map_mod.o\
MODULES=$(BASIC_MODS) $(UTIL_MODS) MODULES=$(BASIC_MODS) $(UTIL_MODS)
LIBMOD=psb_base_mod$(.mod)
OBJS = error.o psb_base_mod.o $(EXTRA_COBJS) cutil.o OBJS = error.o psb_base_mod.o $(EXTRA_COBJS) cutil.o
LIBDIR=.. LIBDIR=..
CINCLUDES=-I. CINCLUDES=-I.
@ -40,7 +39,6 @@ FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG). $(FIFLAG).
lib: $(MODULES) $(OBJS) $(LIBDIR)/$(LIBNAME) lib: $(MODULES) $(OBJS) $(LIBDIR)/$(LIBNAME)
/bin/cp -p $(CPUPDFLAG) $(LIBMOD) $(LIBDIR)
/bin/cp -p $(CPUPDFLAG) *$(.mod) $(LIBDIR) /bin/cp -p $(CPUPDFLAG) *$(.mod) $(LIBDIR)
$(LIBDIR)/$(LIBNAME): $(MODULES) $(OBJS) $(MPFOBJS) $(LIBDIR)/$(LIBNAME): $(MODULES) $(OBJS) $(MPFOBJS)

Loading…
Cancel
Save