mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-12 17:09:05 +00:00
Updated license statement on all files in preparation for 3.0 release. Defined i_base_vect and i_vect; also to get through with preprocessing defined idot and inrm2 even if they are not actually used (and inrm2 really does norm1).
41 lines
674 B
Makefile
41 lines
674 B
Makefile
include ../../../Make.inc
|
|
|
|
#
|
|
# The object files
|
|
#
|
|
FOBJS = iaxpby.o daxpby.o saxpby.o \
|
|
caxpby.o zaxpby.o smmp.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). $(FMFLAG)$(SPARKERDIR) $(FMFLAG)$(MODDIR) $(FMFLAG)$(LIBDIR)
|
|
#LIBNAME=libsparker.a
|
|
#LIBNAME=$(BASELIBNAME)
|
|
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)
|
|
|