CFLAGS += -std=c89
LDLIBS += -lfl

fref: fref.c

fref.c: fref.lex
	flex -ofref.c fref.lex

install: fref
	install fref /usr/local/bin
	install -m 644 fref.1 /usr/local/man/man1