#
#	locate.bigram makefile
#	The install program on Solaris seems broken to me
DESTDIR=/usr/local/lib/locate


locate.bigram:	locate.bigram.c
	$(CC) -o locate.bigram -O locate.bigram.c

install: locate.bigram
	-[ ! -d $(DESTDIR) ] && mkdir $(DESTDIR)
	cp locate.bigram $(DESTDIR)/locate.bigram
	chmod 750 $(DESTDIR)/locate.bigram
	chown bin $(DESTDIR)/locate.bigram
	chgrp bin $(DESTDIR)//locate.bigram

clean:
	rm -f *.o locate.bigram
