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

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

lex.yy.c: xroff.lex
	flex xroff.lex

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

README.t: README.x
	<README.x ./xroff >README.t