CC = gcc
PROG = finger
OBJS = finger.o lprint.o net.o sprint.o util.o
CFLAGS = -O2 -include /usr/include/bsd/bsd.h -I/usr/include/bsd
LDFLAGS = -N -s
LDLIBS = -lbsd

all: $(PROG)

$(PROG): $(OBJS)

clean:
	rm -f *.o *~ core

clobber: clean
	rm -f $(PROG)

install:
	cp finger ${BINROOTDIR}/usr/bin
	cp finger.1 ${BINROOTDIR}/usr/man/man1
