|
|
|
@ -10,36 +10,36 @@ LDLIBS=$(PSBLDLIBS)
|
|
|
|
|
|
|
|
|
|
FINCLUDES=$(FMFLAG)$(INCDIR) $(FMFLAG).
|
|
|
|
|
|
|
|
|
|
SFOBJS=getp.o sf_sample.o
|
|
|
|
|
DFOBJS=getp.o df_sample.o
|
|
|
|
|
CFOBJS=getp.o cf_sample.o
|
|
|
|
|
ZFOBJS=getp.o zf_sample.o
|
|
|
|
|
SFOBJS=getp.o psb_sf_sample.o
|
|
|
|
|
DFOBJS=getp.o psb_df_sample.o
|
|
|
|
|
CFOBJS=getp.o psb_cf_sample.o
|
|
|
|
|
ZFOBJS=getp.o psb_zf_sample.o
|
|
|
|
|
|
|
|
|
|
EXEDIR=./runs
|
|
|
|
|
|
|
|
|
|
all: sf_sample df_sample cf_sample zf_sample
|
|
|
|
|
all: psb_sf_sample psb_df_sample psb_cf_sample psb_zf_sample
|
|
|
|
|
|
|
|
|
|
sf_sample.o df_sample.o cf_sample.o zf_sample.o: getp.o
|
|
|
|
|
psb_sf_sample.o psb_df_sample.o psb_cf_sample.o psb_zf_sample.o: getp.o
|
|
|
|
|
|
|
|
|
|
sf_sample: $(SFOBJS)
|
|
|
|
|
$(F90LINK) $(LOPT) $(SFOBJS) -o sf_sample $(PSBLAS_LIB) $(LDLIBS)
|
|
|
|
|
/bin/mv sf_sample $(EXEDIR)
|
|
|
|
|
df_sample: $(DFOBJS)
|
|
|
|
|
$(F90LINK) $(LOPT) $(DFOBJS) -o df_sample $(PSBLAS_LIB) $(LDLIBS)
|
|
|
|
|
/bin/mv df_sample $(EXEDIR)
|
|
|
|
|
cf_sample: $(CFOBJS)
|
|
|
|
|
$(F90LINK) $(LOPT) $(CFOBJS) -o cf_sample $(PSBLAS_LIB) $(LDLIBS)
|
|
|
|
|
/bin/mv cf_sample $(EXEDIR)
|
|
|
|
|
zf_sample: $(ZFOBJS)
|
|
|
|
|
$(F90LINK) $(LOPT) $(ZFOBJS) -o zf_sample $(PSBLAS_LIB) $(LDLIBS)
|
|
|
|
|
/bin/mv zf_sample $(EXEDIR)
|
|
|
|
|
psb_sf_sample: $(SFOBJS)
|
|
|
|
|
$(F90LINK) $(LOPT) $(SFOBJS) -o psb_sf_sample $(PSBLAS_LIB) $(LDLIBS)
|
|
|
|
|
/bin/mv psb_sf_sample $(EXEDIR)
|
|
|
|
|
psb_df_sample: $(DFOBJS)
|
|
|
|
|
$(F90LINK) $(LOPT) $(DFOBJS) -o psb_df_sample $(PSBLAS_LIB) $(LDLIBS)
|
|
|
|
|
/bin/mv psb_df_sample $(EXEDIR)
|
|
|
|
|
psb_cf_sample: $(CFOBJS)
|
|
|
|
|
$(F90LINK) $(LOPT) $(CFOBJS) -o psb_cf_sample $(PSBLAS_LIB) $(LDLIBS)
|
|
|
|
|
/bin/mv psb_cf_sample $(EXEDIR)
|
|
|
|
|
psb_zf_sample: $(ZFOBJS)
|
|
|
|
|
$(F90LINK) $(LOPT) $(ZFOBJS) -o psb_zf_sample $(PSBLAS_LIB) $(LDLIBS)
|
|
|
|
|
/bin/mv psb_zf_sample $(EXEDIR)
|
|
|
|
|
|
|
|
|
|
.f90.o:
|
|
|
|
|
$(MPF90) $(F90COPT) $(FINCLUDES) $(FDEFINES) -c $<
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
/bin/rm -f $(DFOBJS) $(ZFOBJS) $(SFOBJS) $(CFOBJS)\
|
|
|
|
|
*$(.mod) $(EXEDIR)/df_sample $(EXEDIR)/zf_sample
|
|
|
|
|
*$(.mod) $(EXEDIR)/psb_*f_sample
|
|
|
|
|
|
|
|
|
|
lib:
|
|
|
|
|
(cd ../../; make library)
|
|
|
|
|