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.
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
include ../../Make.inc
|
|
|
|
MODULES = psb_realloc_mod.o psb_string_mod.o psb_spmat_type.o \
|
|
psb_desc_type.o psb_spsb_mod.o \
|
|
psb_serial_mod.o psb_tools_mod.o \
|
|
psb_prec_type.o psb_error_mod.o psb_prec_mod.o \
|
|
psb_methd_mod.o psb_const_mod.o \
|
|
psb_comm_mod.o psb_psblas_mod.o psi_mod.o \
|
|
psb_check_mod.o blacs_env.o psb_gps_mod.o
|
|
|
|
|
|
MPFOBJS = psb_penv_mod.o
|
|
|
|
OBJS = error.o psb_sparse_mod.o psb_all_mod.o
|
|
|
|
INCDIRS = -I ../../lib
|
|
LIBDIR = ../../lib
|
|
|
|
psb_realloc_mod.o : psb_error_mod.o
|
|
psb_spmat_type.o : psb_realloc_mod.o psb_const_mod.o psb_string_mod.o
|
|
psb_error_mod.o: psb_const_mod.o
|
|
psb_penv_mod.o: psb_const_mod.o psb_error_mod.o
|
|
psi_mod.o: psb_penv_mod.o psb_error_mod.o psb_desc_type.o
|
|
psb_desc_type.o: psb_const_mod.o psb_error_mod.o psb_penv_mod.o
|
|
psb_check_mod.o: psb_desc_type.o
|
|
psb_methd_mod.o: psb_serial_mod.o psb_desc_type.o psb_prec_type.o
|
|
psb_tools_mod.o: psb_spmat_type.o psb_desc_type.o psi_mod.o psb_gps_mod.o
|
|
psb_gps_mod.o: psb_realloc_mod.o
|
|
psb_sparse_mod.o: $(MODULES) $(MPFOBJS)
|
|
|
|
|
|
lib: mpfobjs $(MODULES) $(OBJS)
|
|
$(AR) $(LIBDIR)/$(LIBNAME) $(MODULES) $(OBJS) $(MPFOBJS)
|
|
$(RANLIB) $(LIBDIR)/$(LIBNAME)
|
|
/bin/cp *$(.mod) ./parts.fh ../../lib
|
|
|
|
|
|
mpfobjs:
|
|
(make $(MPFOBJS) F90="$(MPF90)" FC="$(MPF90)" FCOPT="$(F90COPT)")
|
|
|
|
clean:
|
|
/bin/rm -f $(MODULES) $(OBJS) $(MPFOBJS) *$(.mod)
|
|
|
|
veryclean: clean
|
|
|