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.
47 lines
870 B
Makefile
47 lines
870 B
Makefile
include ../../../Make.inc
|
|
#
|
|
# The object files
|
|
#
|
|
|
|
FOBJS = dcrcr.o dcrjd.o dgblock.o partition.o \
|
|
dgindex.o djadrp.o djadrp1.o dcsrrp.o dcsrp1.o check_dim.o \
|
|
Max_nnzero.o dcoco.o dcocr.o dcrco.o djdcox.o djdco.o dvtfg.o dgind_tri.o \
|
|
gen_block.o reordvn.o\
|
|
zcoco.o zcocr.o zcrco.o zcrcr.o zcrjd.o zgindex.o zgind_tri.o
|
|
|
|
#
|
|
# dgind_tri.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
|
|
#
|
|
|
|
|
|
lib: $(FOBJS)
|
|
$(AR) $(LIBDIR)/$(LIBNAME) $(OBJS)
|
|
$(RANLIB) $(LIBDIR)/$(LIBNAME)
|
|
|
|
clean: cleanobjs
|
|
|
|
veryclean: cleanobjs
|
|
|
|
cleanobjs:
|
|
/bin/rm -f $(OBJS)
|
|
|
|
|