You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
925 B
Makefile
37 lines
925 B
Makefile
5 years ago
|
TOP=../..
|
||
|
include $(TOP)/Make.inc
|
||
|
LIBDIR=$(TOP)/lib
|
||
|
INCDIR=$(TOP)/include
|
||
|
MODDIR=$(TOP)/modules
|
||
5 years ago
|
HERE=.
|
||
5 years ago
|
DEST=../
|
||
5 years ago
|
|
||
|
CINCLUDES=-I. -I$(LIBDIR) -I$(PSBLAS_INCDIR)
|
||
|
FINCLUDES=$(FMFLAG)$(HERE) $(FMFLAG)$(INCDIR) $(FMFLAG)$(MODDIR) $(PSBLAS_INCLUDES)
|
||
|
|
||
|
|
||
4 years ago
|
OBJS=amg_prec_cbind_mod.o amg_dprec_cbind_mod.o amg_c_dprec.o amg_zprec_cbind_mod.o amg_c_zprec.o
|
||
|
CMOD=amg_cbind.h amg_c_dprec.h amg_c_zprec.h amg_const.h
|
||
5 years ago
|
|
||
|
|
||
4 years ago
|
LIBMOD=amg_prec_cbind_mod$(.mod) amg_dprec_cbind_mod$(.mod) amg_zprec_cbind_mod$(.mod)
|
||
5 years ago
|
LOCAL_MODS=$(LIBMOD)
|
||
|
#LIBNAME=$(CPRECLIBNAME)
|
||
|
|
||
|
|
||
|
lib: $(OBJS) $(CMOD)
|
||
|
$(AR) $(HERE)/$(LIBNAME) $(OBJS)
|
||
|
$(RANLIB) $(HERE)/$(LIBNAME)
|
||
5 years ago
|
/bin/cp -p $(HERE)/$(LIBNAME) $(DEST)
|
||
|
/bin/cp -p $(LIBMOD) $(CMOD) $(DEST)
|
||
5 years ago
|
|
||
4 years ago
|
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
|
||
5 years ago
|
veryclean: clean
|
||
|
/bin/rm -f $(HERE)/$(LIBNAME)
|
||
|
|
||
|
clean:
|
||
|
/bin/rm -f $(OBJS) $(LOCAL_MODS)
|
||
|
|
||
|
veryclean: clean
|