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.
psblas3/test/serial/Makefile

44 lines
947 B
Makefile

include ../../Make.inc
#
# Libraries used
#
LIBDIR=../../lib/
OPTDIR=../../opt
PSBLAS_LIB= -L$(LIBDIR) -lpsb_util -lpsb_base
LDLIBS=$(PSBLDLIBS)
#
# Compilers and such
#
CCOPT= -g
FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG). $(FMFLAG)$(OPTDIR)
EXEDIR=./runs
all: d_matgen
psb_d_cxx_impl.o d_matgen.o: psb_d_cxx_mat_mod.o
psb_d_cyy_impl.o d_matgen.o: psb_d_cyy_mat_mod.o
d_matgen: d_matgen.o psb_d_cxx_mat_mod.o psb_d_cxx_impl.o psb_d_cyy_mat_mod.o psb_d_cyy_impl.o
$(F90LINK) $(LINKOPT) d_matgen.o psb_d_cxx_mat_mod.o psb_d_cxx_impl.o psb_d_cyy_mat_mod.o\
psb_d_cyy_impl.o -o d_matgen $(PSBLAS_LIB) $(LDLIBS)
/bin/cp -p $(CPUPDFLAG) d_matgen $(EXEDIR)
# /bin/mv d_matgen $(EXEDIR)
check: all
cd runs && echo 5 | ./d_matgen
clean:
/bin/rm -f d_matgen.o \
psb_d_cyy_mat_mod.o psb_d_cyy_impl.o \
psb_d_cxx_mat_mod.o psb_d_cxx_impl.o *$(.mod)
verycleanlib:
(cd ../..; make veryclean)
lib:
(cd ../../; make library)