
install: bdflush
	cp bdflush /etc/update
	if [ -d /usr/man/man8 ] cp bdflush.8 /usr/man/man8
	if [ -f /etc/bdflush ] echo "Warning - /etc/bdflush exists.  Please remove and verify that"
	if [ -f /etc/bdflush ] echo "it is not referenced in /etc/rc."


bdflush: bdflush.c
	$(CC) -O2 -o bdflush bdflush.c
	
#bdflush: bdflush.c
#	$(CC) -O2 -o bdflush bdflush.c
#
#install: bdflush
#	cp bdflush /etc/bdflush
#	ln -s /etc/bdflush /etc/update

dist:
	tar cf - * | gzip > cluster-0.99.15h.tar.gz

