#	Makefile	4.3	83/10/17
#
CFLAGS	= -O
DESTDIR	= 
INS	= install -c -o bin
INCLUDE	= /usr/include

libdbm.a: dbm.c
libdbm.a: $(INCLUDE)/dbm.h
	  ${CC} -c ${CFLAGS} dbm.c
	  mv dbm.o libdbm.a
	  chmod 644 libdbm.a

install:  libdbm.a
	  $(INS) libdbm.a $(DESTDIR)/usr/lib

clean:
	  rm -f libdbm.a errs a.out core
nt.o

# as this library is private to X, we should do nothing on install.

install: all

lint:
	lint -Cvs100 *.c

libvs100.a: $(OBJS)
	ar r libvs100.a $(OBJS)
	@ranlib libvs100.a

clean:
	rm -f ERRS *.o libvs100.a *~
