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
708 B
Makefile
37 lines
708 B
Makefile
include ../../Make.inc
|
|
|
|
|
|
FOBJS = psb_lsame.o psi_serial_impl.o psi_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
|
|
|
|
LIBDIR=..
|
|
MODDIR=../modules
|
|
FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG)$(MODDIR) $(FMFLAG).
|
|
|
|
lib: auxd f77d f03d lib1
|
|
$(AR) $(LIBDIR)/$(LIBNAME) $(FOBJS)
|
|
$(RANLIB) $(LIBDIR)/$(LIBNAME)
|
|
|
|
#cood csrd jadd
|
|
|
|
lib1: $(FOBJS)
|
|
|
|
|
|
auxd:
|
|
(cd aux; $(MAKE) lib)
|
|
|
|
f77d:
|
|
(cd f77; $(MAKE) lib)
|
|
f03d:
|
|
(cd f03; $(MAKE) lib)
|
|
|
|
clean:
|
|
/bin/rm -f $(FOBJS) *$(.mod)
|
|
(cd aux; $(MAKE) clean)
|
|
(cd f77; $(MAKE) clean)
|
|
(cd f03; $(MAKE) clean)
|
|
|
|
veryclean: clean
|