mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-06 22:55:12 +00:00
Changed library prefix to amg_
This commit is contained in:
+4
-4
@@ -6,20 +6,20 @@ LIBDIR=../lib
|
||||
INCDIR=../include
|
||||
MODDIR=../modules/
|
||||
LIBNAME=$(CBINDLIBNAME)
|
||||
LIBNAME=libmld_cbind.a
|
||||
LIBNAME=libamg_cbind.a
|
||||
|
||||
all: lib
|
||||
lib: amgprecd
|
||||
/bin/cp -p $(CPUPDFLAG) $(HERE)/$(LIBNAME) $(LIBDIR)
|
||||
/bin/cp -p $(CPUPDFLAG) *.h $(INCDIR)
|
||||
/bin/cp -p $(CPUPDFLAG) *$(.mod) $(MODDIR)
|
||||
/bin/cp -p $(CPUPDFLAG) *$(.mod) $(MODDIR)
|
||||
|
||||
|
||||
amgprecd:
|
||||
$(MAKE) -C amgprec lib LIBNAME=$(LIBNAME)
|
||||
$(MAKE) -C amgprec lib LIBNAME=$(LIBNAME)
|
||||
|
||||
|
||||
clean:
|
||||
clean:
|
||||
$(MAKE) -C amgprec clean
|
||||
|
||||
|
||||
|
||||
@@ -14,9 +14,9 @@ OBJS=amg_prec_cbind_mod.o amg_dprec_cbind_mod.o amg_c_dprec.o amg_zprec_cbind_m
|
||||
CMOD=amg_cbind.h amg_c_dprec.h amg_c_zprec.h amg_const.h
|
||||
|
||||
|
||||
LIBMOD=amg_prec_cbind_mod$(.mod) amg_dprec_cbind_mod$(.mod) amg_zprec_cbind_mod$(.mod)
|
||||
LIBMOD=amg_prec_cbind_mod$(.mod) amg_dprec_cbind_mod$(.mod) amg_zprec_cbind_mod$(.mod)
|
||||
LOCAL_MODS=$(LIBMOD)
|
||||
#LIBNAME=$(CPRECLIBNAME)
|
||||
#LIBNAME=$(CPRECLIBNAME)
|
||||
|
||||
|
||||
lib: $(OBJS) $(CMOD)
|
||||
@@ -25,7 +25,7 @@ lib: $(OBJS) $(CMOD)
|
||||
/bin/cp -p $(HERE)/$(LIBNAME) $(DEST)
|
||||
/bin/cp -p $(LIBMOD) $(CMOD) $(DEST)
|
||||
|
||||
amg_prec_cbind_mod.o: amg_dprec_cbind_mod.o amg_zprec_cbind_mod.o
|
||||
amg_prec_cbind_mod.o: amg_dprec_cbind_mod.o amg_zprec_cbind_mod.o
|
||||
#amg_prec_cbind_mod.o: psb_prec_cbind_mod.o
|
||||
veryclean: clean
|
||||
/bin/rm -f $(HERE)/$(LIBNAME)
|
||||
|
||||
Reference in New Issue
Block a user