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.
32 lines
723 B
Makefile
32 lines
723 B
Makefile
include ../../Make.inc
|
|
|
|
MODULES = psbn_base_mat_mod.o psbn_d_base_mat_mod.o psbn_d_coo_impl.o psbn_mat_mod.o\
|
|
psbn_d_csr_mat_mod.o psbn_d_csr_impl.o
|
|
|
|
|
|
LIBMOD=
|
|
OBJS =
|
|
LIBDIR=..
|
|
CINCLUDES=-I.
|
|
FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG). $(FIFLAG).
|
|
|
|
|
|
lib: $(MODULES) $(OBJS) $(LIBMOD)
|
|
$(AR) $(LIBDIR)/$(LIBNAME) $(MODULES) $(OBJS) $(MPFOBJS)
|
|
$(RANLIB) $(LIBDIR)/$(LIBNAME) # /bin/cp -p $(LIBMOD) $(LIBDIR)
|
|
/bin/cp -p *$(.mod) $(LIBDIR)
|
|
|
|
psbn_mat_mod.o: psbn_base_mat_mod.o
|
|
psbn_coo_mat.o psbn_csr_mat.o: psbn_d_base_mat_mod.o
|
|
|
|
psbn_d_coo_impl.o: psbn_d_base_mat_mod.o
|
|
psbn_d_csr_impl.o: psbn_d_csr_mat_mod.o
|
|
|
|
psbn_mat_impl.o: psbn_mat_mod.o
|
|
|
|
clean:
|
|
/bin/rm -f $(MODULES) $(OBJS) $(MPFOBJS) *$(.mod)
|
|
|
|
veryclean: clean
|
|
|