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.
40 lines
693 B
Makefile
40 lines
693 B
Makefile
20 years ago
|
include ../../../Make.inc
|
||
|
|
||
|
#
|
||
|
# The object files
|
||
|
#
|
||
19 years ago
|
FOBJS = daxpby.o dcsmm.o dcsnmi.o dcsrp.o dcssm.o \
|
||
19 years ago
|
dgelp.o dlpupd.o dswmm.o dswprt.o \
|
||
19 years ago
|
dswsm.o smmp.o dcsrws.o \
|
||
|
zcsnmi.o zaxpby.o zcsmm.o zcssm.o zswmm.o zswsm.o\
|
||
|
zcsrws.o zgelp.o zlpupd.o
|
||
20 years ago
|
|
||
|
OBJS=$(FOBJS)
|
||
|
|
||
|
#
|
||
|
# Where the library should go, and how it is called.
|
||
|
# Note that we are regenerating most of libsparker.a on the fly.
|
||
|
LIBDIR=../../../lib
|
||
|
#LIBNAME=libsparker.a
|
||
|
LIBFILE=$(LIBDIR)/$(LIBNAME)
|
||
|
INCDIRS=-I. -I$(LIBDIR)
|
||
|
|
||
|
#
|
||
|
# No change should be needed below
|
||
|
#
|
||
|
|
||
|
|
||
|
default: lib
|
||
|
|
||
|
lib: $(OBJS)
|
||
20 years ago
|
$(AR) $(LIBDIR)/$(LIBNAME) $(OBJS)
|
||
|
$(RANLIB) $(LIBDIR)/$(LIBNAME)
|
||
20 years ago
|
|
||
|
clean: cleanobjs
|
||
|
|
||
|
veryclean: cleanobjs
|
||
|
|
||
|
cleanobjs:
|
||
|
/bin/rm -f $(OBJS)
|
||
|
|