aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 3d1e30557314e3ff8bb918b89413af2002e8704b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CFLAGS += -std=c89
LDFLAGS += -lfl

fref: lex.yy.c
	$(CC) $(CFLAGS) -o fref lex.yy.c $(LDFLAGS)

lex.yy.c: fref.lex
	flex fref.lex

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