#
# @(#)Makefile	1.1 93/06/16
#

INCLUDE	=
CC	=	cc
CFLAGS	=	-g $(INCLUDE)
LIBS	=
KIT	=	xtoc.l dbascii.c README dbgen.man dbascii.man Makefile \
		ascii.xtoc.sample bookinfo.sample
	

all: dbgen dbascii

dbascii: dbascii.o
	$(CC) -o $@ dbascii.o

dbgen: xtoc.l
	lex xtoc.l
	$(CC) -o $@ lex.yy.c -ll

clean:
	rm -f *.o a.out core

tar:
	tar cf - $(KIT) | compress > abutil.tar.Z

kit:
	makekit -m $(KIT)
