Fix new makefile dependencies on modules

fixmatch
Salvatore Filippone 3 years ago
parent c7edaaa7c5
commit 6025b8f0ef

@ -68,14 +68,14 @@ objs: $(OBJS)
impld: objs
cd impl && $(MAKE)
/bin/cp -p amg_const.h $(INCDIR)
/bin/cp -p *$(.mod) $(MODDIR)
lib: $(OBJS) impld
cd impl && $(MAKE) lib
$(AR) $(HERE)/$(LIBNAME) $(OBJS)
$(RANLIB) $(HERE)/$(LIBNAME)
/bin/cp -p $(HERE)/$(LIBNAME) $(LIBDIR)
/bin/cp -p amg_const.h $(INCDIR)
/bin/cp -p *$(.mod) $(MODDIR)
$(MODOBJS): $(PSBLAS_MODDIR)/$(PSBBASEMODNAME)$(.mod)

@ -9,10 +9,10 @@ LIBNAME=$(CBINDLIBNAME)
LIBNAME=libamg_cbind.a
objs: amgprecd
lib: objs
/bin/cp -p $(CPUPDFLAG) $(HERE)/$(LIBNAME) $(LIBDIR)
/bin/cp -p $(CPUPDFLAG) *.h $(INCDIR)
/bin/cp -p $(CPUPDFLAG) *$(.mod) $(MODDIR)
lib: objs
/bin/cp -p $(CPUPDFLAG) $(HERE)/$(LIBNAME) $(LIBDIR)
amgprecd:

Loading…
Cancel
Save