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.
101 lines
3.7 KiB
Makefile
101 lines
3.7 KiB
Makefile
include ../../Make.inc
|
|
|
|
|
|
FOBJS = psb_cest.o \
|
|
psb_regen_mod.o psb_lsame.o psb_zspgetrow.o\
|
|
psb_zcsmm.o psb_zcsmv.o psb_zspgtdiag.o psb_zspgtblk.o\
|
|
psb_zcsnmi.o psb_zcsrws.o psb_zcssm.o psb_zcssv.o psb_zspcnv.o\
|
|
psb_zfixcoo.o psb_zipcoo2csr.o psb_zipcsr2coo.o psb_zipcoo2csc.o \
|
|
psb_zcoins.o psb_zcsprt.o psb_zneigh.o psb_ztransp.o psb_ztransc.o\
|
|
psb_zrwextd.o psb_zsymbmm.o psb_znumbmm.o psb_zspscal.o psb_zspclip.o\
|
|
psb_getifield.o psb_setifield.o psb_update_mod.o psb_getrow_mod.o\
|
|
psb_zgelp.o\
|
|
psb_zspshift.o psb_zspsetbld.o\
|
|
psb_scsprt.o psb_sspcnv.o psb_scoins.o psb_scsmm.o psb_scsmv.o \
|
|
psb_scssm.o psb_scssv.o psb_sneigh.o psb_sspgtblk.o psb_sspgetrow.o \
|
|
psb_sfixcoo.o psb_sipcsr2coo.o psb_sipcoo2csr.o psb_sipcoo2csc.o \
|
|
psb_sgelp.o psb_sspgtdiag.o psb_scsnmi.o psb_stransp.o \
|
|
psb_sspclip.o psb_srwextd.o psb_sspscal.o\
|
|
psb_snumbmm.o psb_ssymbmm.o\
|
|
psb_ccsprt.o psb_cspcnv.o psb_ccoins.o psb_ccsnmi.o\
|
|
psb_cfixcoo.o psb_cipcsr2coo.o psb_cipcoo2csr.o psb_cipcoo2csc.o \
|
|
psb_cgelp.o psb_cspgtdiag.o psb_cspgtblk.o psb_cspgetrow.o\
|
|
psb_ccssm.o psb_ccssv.o psb_ccsmm.o psb_ccsmv.o psb_ctransp.o psb_ctransc.o\
|
|
psb_cspclip.o psb_crwextd.o psb_cspscal.o\
|
|
psb_cnumbmm.o psb_csymbmm.o psb_cneigh.o
|
|
#FOBJS = psb_cest.o psb_dcoins.o psb_dcsmm.o psb_dcsmv.o \
|
|
# psb_dcsnmi.o psb_dcsprt.o psb_dcsrws.o psb_dcssm.o psb_dcssv.o \
|
|
# psb_dfixcoo.o psb_dipcoo2csr.o psb_dipcsr2coo.o psb_dneigh.o \
|
|
# psb_dnumbmm.o psb_drwextd.o psb_dspgtdiag.o psb_dspgtblk.o \
|
|
# psb_dspscal.o psb_dsymbmm.o psb_dtransp.o psb_dspclip.o psb_dspcnv.o\
|
|
# psb_regen_mod.o psb_dipcoo2csc.o psb_dspgetrow.o psb_lsame.o psb_zspgetrow.o\
|
|
# psb_zcsmm.o psb_zcsmv.o psb_zspgtdiag.o psb_zspgtblk.o\
|
|
# psb_zcsnmi.o psb_zcsrws.o psb_zcssm.o psb_zcssv.o psb_zspcnv.o\
|
|
# psb_zfixcoo.o psb_zipcoo2csr.o psb_zipcsr2coo.o psb_zipcoo2csc.o \
|
|
# psb_zcoins.o psb_zcsprt.o psb_zneigh.o psb_ztransp.o psb_ztransc.o\
|
|
# psb_zrwextd.o psb_zsymbmm.o psb_znumbmm.o psb_zspscal.o psb_zspclip.o\
|
|
# psb_getifield.o psb_setifield.o psb_update_mod.o psb_getrow_mod.o\
|
|
# psb_dgelp.o psb_zgelp.o\
|
|
# psb_dspshift.o psb_dspsetbld.o psb_zspshift.o psb_zspsetbld.o\
|
|
# psb_scsprt.o psb_sspcnv.o psb_scoins.o psb_scsmm.o psb_scsmv.o \
|
|
# psb_scssm.o psb_scssv.o psb_sneigh.o psb_sspgtblk.o psb_sspgetrow.o \
|
|
# psb_sfixcoo.o psb_sipcsr2coo.o psb_sipcoo2csr.o psb_sipcoo2csc.o \
|
|
# psb_sgelp.o psb_sspgtdiag.o psb_scsnmi.o psb_stransp.o \
|
|
# psb_sspclip.o psb_srwextd.o psb_sspscal.o\
|
|
# psb_snumbmm.o psb_ssymbmm.o\
|
|
# psb_ccsprt.o psb_cspcnv.o psb_ccoins.o psb_ccsnmi.o\
|
|
# psb_cfixcoo.o psb_cipcsr2coo.o psb_cipcoo2csr.o psb_cipcoo2csc.o \
|
|
# psb_cgelp.o psb_cspgtdiag.o psb_cspgtblk.o psb_cspgetrow.o\
|
|
# psb_ccssm.o psb_ccssv.o psb_ccsmm.o psb_ccsmv.o psb_ctransp.o psb_ctransc.o\
|
|
# psb_cspclip.o psb_crwextd.o psb_cspscal.o\
|
|
# psb_cnumbmm.o psb_csymbmm.o psb_cneigh.o
|
|
# psb_dcsrp.o psb_zcsrp.o\
|
|
|
|
LIBDIR=..
|
|
MODDIR=../modules
|
|
FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG)$(MODDIR) $(FMFLAG).
|
|
|
|
lib: auxd cood csrd jadd f77d f03d dpd lib1
|
|
$(AR) $(LIBDIR)/$(LIBNAME) $(FOBJS)
|
|
$(RANLIB) $(LIBDIR)/$(LIBNAME)
|
|
|
|
|
|
lib1: $(FOBJS)
|
|
|
|
psb_scoins.o psb_dcoins.o psb_zcoins.o: psb_update_mod.o
|
|
psb_sspgetrow.o psb_dspgetrow.o psb_zspgetrow.o: psb_getrow_mod.o
|
|
psb_sspcnv.o psb_dspcnv.o pzb_zspcnv.o: psb_regen_mod.o
|
|
#psb_sfixcoo.o psb_dfixcoo.o psb_cfixcoo.o psb_zfixcoo.o: psb_ip_reord_mod.o
|
|
|
|
auxd:
|
|
(cd aux; make lib)
|
|
|
|
cood:
|
|
(cd coo; make lib)
|
|
|
|
csrd:
|
|
(cd csr; make lib)
|
|
|
|
jadd:
|
|
(cd jad; make lib)
|
|
|
|
dpd:
|
|
(cd dp; make lib)
|
|
|
|
f77d:
|
|
(cd f77; make lib)
|
|
f03d:
|
|
(cd f03; make lib)
|
|
|
|
clean:
|
|
/bin/rm -f $(FOBJS) *$(.mod)
|
|
(cd aux; make clean)
|
|
(cd coo; make clean)
|
|
(cd csr; make clean)
|
|
(cd jad; make clean)
|
|
(cd dp; make clean)
|
|
(cd f77; make clean)
|
|
(cd f03; make clean)
|
|
|
|
veryclean: clean
|