home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-11-09 | 810 b | 30 lines |
- #
- # where to put the library
- #
- LIBARC = $(HOME)/lib/bobm.a
-
- # if your compiler doesn't like the initialization of a pointer with
- # an array address in strstore.c, define NO_PTR_INIT
- #
- # if you define HASHMAGIC to be some number, you will get magic number
- # checks in the hash table routines, which can be helpful in tracking
- # down instances of client code passing bad context addresses. Not done
- # by default to avoid overhead. See hash.c
- #
- CFLAGS = -O
-
- #
- # if strtok() is available in your c runtime library, remove it from
- # the list - this will be all SYSV, and some BSD systems like ULTRIX
- #
- LIBOBJS = hash.o diagnostic.o prime.o strstore.o strtok.o
-
- #
- # for SYSV, make RANLIB an effective no-op, like "ls" or "echo"
- #
- RANLIB = ranlib
-
- lib : $(LIBOBJS)
- ar rvu $(LIBARC) $(LIBOBJS)
- $(RANLIB) $(LIBARC)
-