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.
39 lines
662 B
Makefile
39 lines
662 B
Makefile
20 years ago
|
include ../../../Make.inc
|
||
20 years ago
|
|
||
|
#
|
||
|
# The object files
|
||
|
#
|
||
19 years ago
|
FOBJS = dcooprt.o dcoonrmi.o dcoomm.o dcoomv.o dcoosm.o dcoosv.o dcoorws.o\
|
||
19 years ago
|
zcoomm.o zcoomv.o zcoonrmi.o zcoorws.o zcoosm.o zcoosv.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.
|
||
20 years ago
|
LIBDIR=../../../lib
|
||
20 years ago
|
#LIBNAME=libsparker.a
|
||
|
LIBFILE=$(LIBDIR)/$(LIBNAME)
|
||
|
SPARKERDIR=..
|
||
|
INCDIRS=-I. -I$(SPARKERDIR) -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)
|
||
|
|