aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: e511b22f2ac1279225293adb15d8d166644998aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CC = gcc

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

lex.yy.c: lightroff.lex
	flex lightroff.lex

README: README.t
	<README.t groff -ms -Tutf8 | sed "s/\x1b\[[0-9;]*[a-zA-Z]//g" >README

README.t: README.l
	<README.l ./lightroff >README.t