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.
24 lines
506 B
Makefile
24 lines
506 B
Makefile
include ../../Make.inc
|
|
|
|
OBJS = psb_dgather.o psb_dhalo.o psb_dovrl.o \
|
|
psb_igather.o psb_ihalo.o psb_zgather.o psb_zhalo.o psb_zovrl.o
|
|
|
|
MPFOBJS = psb_dscatter.o psb_zscatter.o psb_iscatter.o
|
|
LIBDIR = ..
|
|
MODDIR = ../modules
|
|
INCDIRS = -I $(LIBDIR) -I $(MODDIR) -I .
|
|
|
|
lib: mpfobjs $(OBJS)
|
|
$(AR) $(LIBDIR)/$(LIBNAME) $(MPFOBJS) $(OBJS)
|
|
$(RANLIB) $(LIBDIR)/$(LIBNAME)
|
|
|
|
|
|
mpfobjs:
|
|
(make $(MPFOBJS) F90="$(MPF90)" FC="$(MPF90)" FCOPT="$(F90COPT)")
|
|
|
|
|
|
clean:
|
|
/bin/rm -f $(MPFOBJS) $(OBJS)
|
|
|
|
veryclean: clean
|