aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 10e663a1bc735882ff66f782b32dd12ea1482a7a (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 -Tlatin1 | sed "s/\x1b\[[0-9;]*[a-zA-Z]//g" >README

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