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.
34 lines
951 B
Makefile
34 lines
951 B
Makefile
include ../../Make.inc
|
|
|
|
FOBJS = psb_dallc.o psb_dasb.o psb_cdprt.o \
|
|
psb_dfree.o psb_dins.o \
|
|
psb_cdals.o psb_cdalv.o psb_cd_inloc.o psb_cdcpy.o \
|
|
psb_cdfree.o psb_cdins.o \
|
|
psb_cdren.o psb_cdrep.o psb_cdtransfer.o psb_get_overlap.o\
|
|
psb_dspalloc.o psb_dspasb.o \
|
|
psb_dspfree.o psb_dspins.o psb_dsprn.o \
|
|
psb_glob_to_loc.o psb_ialloc.o psb_iasb.o \
|
|
psb_ifree.o psb_iins.o psb_loc_to_glob.o\
|
|
psb_zallc.o psb_zasb.o psb_zfree.o psb_zins.o \
|
|
psb_zspalloc.o psb_zspasb.o psb_zspfree.o\
|
|
psb_zspins.o psb_zsprn.o
|
|
|
|
MPFOBJS = psb_dsphalo.o psb_zsphalo.o psb_icdasb.o psb_dcdbldext.o psb_zcdbldext.o
|
|
|
|
LIBDIR=..
|
|
MODDIR=../modules
|
|
FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG)$(MODDIR) $(FMFLAG). $(FIFLAG)$(MODDIR)
|
|
|
|
lib: mpfobjs $(FOBJS)
|
|
$(AR) $(LIBDIR)/$(LIBNAME) $(MPFOBJS) $(FOBJS)
|
|
$(RANLIB) $(LIBDIR)/$(LIBNAME)
|
|
|
|
|
|
mpfobjs:
|
|
(make $(MPFOBJS) F90="$(MPF90)" FC="$(MPF90)" FCOPT="$(F90COPT)")
|
|
|
|
clean:
|
|
/bin/rm -f $(MPFOBJS) $(FOBJS)
|
|
|
|
veryclean: clean
|