CC	= cc
CFLAGS	= -Wall

all:		newshound

newshound:	newshound.c
		$(CC) $(CFLAGS) -o newshound newshound.c getconf.c socket.c sort.c

install:	newshound
		cp newshound /usr/local/sbin
		cp newshound.8 /usr/man/man8
		cp newshound.conf /etc

clean:
		rm -f newshound
