blob: 77f9f3b78b07d9380e467231f1f63f8f2dfb299d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# $OpenBSD: Makefile,v 1.13 2019/12/21 21:40:00 espie Exp $
PROG= more
CFLAGS+= -I. -I${.CURDIR}/
SRCS= more.c tputs.c termcap.c tgoto.c
CLEANFILES+=morehelp.h
morehelp.h: ${.CURDIR}/more.help
echo -n 'const char *more_help = "' > morehelp.h
sed -e 's/[\\"]/\\&/g' -e 's/$$/\\n\\/' ${.CURDIR}/more.help >> morehelp.h
echo '";' >> morehelp.h
more.o: morehelp.h
.include <bsd.prog.mk>
|