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.
61 lines
1.1 KiB
Makefile
61 lines
1.1 KiB
Makefile
include ../../../Make.inc
|
|
#
|
|
# The object files
|
|
#
|
|
|
|
XOBJS =
|
|
#scrjd.o ccrjd.o zcrjd.o
|
|
FOBJS = partition.o dgblock.o dvtfg.o \
|
|
check_dim.o \
|
|
Max_nnzero.o \
|
|
gen_block.o
|
|
#\
|
|
# ccoco.o ccocr.o ccrco.o ccrcr.o cgindex.o cgind_tri.o\
|
|
# zcoco.o zcocr.o zcrco.o zcrcr.o zgindex.o zgind_tri.o\
|
|
# $(XOBJS)
|
|
|
|
#dcoco.o dcocr.o dcrco.o djdcox.o djdco.o dgind_tri.o \
|
|
#dcrcr.o
|
|
#dgindex.o djadrp.o djadrp1.o dcsrrp.o dcsrp1.o
|
|
#dcrjd.o
|
|
# scrco.o scrcr.o scocr.o scoco.o sgindex.o sgind_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)
|
|
|
|
xobjs:
|
|
(make $(XOBJS) FCOPT="$(FCOPT) $(EXTRA_OPT)")
|
|
|
|
clean: cleanobjs
|
|
|
|
veryclean: cleanobjs
|
|
|
|
cleanobjs:
|
|
/bin/rm -f $(OBJS)
|
|
|
|
|