mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-16 02:49:03 +00:00
modules/Makefile modules/psb_c_base_mat_mod.f03 modules/psb_c_csr_mat_mod.f03 modules/psb_c_mat_mod.f03 modules/psb_mat_mod.f03 modules/psb_z_base_mat_mod.f03 modules/psb_z_csr_mat_mod.f03 modules/psb_z_mat_mod.f03 serial/f03/Makefile serial/f03/psb_c_coo_impl.f03 serial/f03/psb_c_csr_impl.f03 serial/f03/psb_d_coo_impl.f03 serial/f03/psb_d_csr_impl.f03 serial/f03/psb_s_coo_impl.f03 serial/f03/psb_s_csr_impl.f03 serial/f03/psb_z_coo_impl.f03 serial/f03/psb_z_csr_impl.f03 Complex version, step 1.
39 lines
738 B
Makefile
39 lines
738 B
Makefile
include ../../../Make.inc
|
|
|
|
#
|
|
# The object files
|
|
#
|
|
FOBJS = psb_s_csr_impl.o psb_s_coo_impl.o psb_d_csr_impl.o psb_d_coo_impl.o\
|
|
psb_c_csr_impl.o psb_c_coo_impl.o psb_z_csr_impl.o psb_z_coo_impl.o
|
|
|
|
OBJS=$(FOBJS)
|
|
|
|
#
|
|
# Where the library should go, and how it is called.
|
|
# Note that we are regenerating most of libsparker.a on the fly.
|
|
SPARKERDIR=..
|
|
LIBDIR=../..
|
|
MODDIR=../../modules
|
|
FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG)$(MODDIR) $(FMFLAG)$(SPARKERDIR) $(FMFLAG).
|
|
#LIBNAME=libsparker.a
|
|
LIBFILE=$(LIBDIR)/$(LIBNAME)
|
|
|
|
#
|
|
# No change should be needed below
|
|
#
|
|
|
|
|
|
default: lib
|
|
|
|
lib: $(OBJS)
|
|
$(AR) $(LIBDIR)/$(LIBNAME) $(OBJS)
|
|
$(RANLIB) $(LIBDIR)/$(LIBNAME)
|
|
|
|
clean: cleanobjs
|
|
|
|
veryclean: cleanobjs
|
|
|
|
cleanobjs:
|
|
/bin/rm -f $(OBJS)
|
|
|