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.
40 lines
863 B
Makefile
40 lines
863 B
Makefile
include ../../Make.inc
|
|
|
|
|
|
FOBJS = psb_lsame.o psi_serial_impl.o psb_sort_impl.o \
|
|
psb_srwextd.o psb_drwextd.o psb_crwextd.o psb_zrwextd.o \
|
|
psb_ssymbmm.o psb_dsymbmm.o psb_csymbmm.o psb_zsymbmm.o \
|
|
psb_snumbmm.o psb_dnumbmm.o psb_cnumbmm.o psb_znumbmm.o \
|
|
psb_sgeprt.o psb_dgeprt.o psb_cgeprt.o psb_zgeprt.o\
|
|
psb_spdot_srtd.o psb_aspxpby.o psb_spge_dot.o\
|
|
psb_sgelp.o psb_dgelp.o psb_cgelp.o psb_zgelp.o
|
|
|
|
LIBDIR=..
|
|
MODDIR=../modules
|
|
FINCLUDES=$(FMFLAG). $(FMFLAG)$(MODDIR) $(FMFLAG)$(LIBDIR)
|
|
|
|
lib: auxd f77d impld lib1 $(FOBJS)
|
|
$(AR) $(LIBDIR)/$(LIBNAME) $(FOBJS)
|
|
$(RANLIB) $(LIBDIR)/$(LIBNAME)
|
|
|
|
#cood csrd jadd
|
|
|
|
lib1: $(FOBJS)
|
|
|
|
|
|
auxd:
|
|
cd aux && $(MAKE) lib
|
|
|
|
f77d:
|
|
cd f77 && $(MAKE) lib
|
|
impld:
|
|
cd impl && $(MAKE) lib
|
|
|
|
clean:
|
|
/bin/rm -f $(FOBJS) *$(.mod)
|
|
(cd aux; $(MAKE) clean)
|
|
(cd f77; $(MAKE) clean)
|
|
(cd impl; $(MAKE) clean)
|
|
|
|
veryclean: clean
|