10bcab5b6b9542e22b774eef78782f140c971b8f
[211bsd.git] / old / oldassn / Makefile
1 MANROFF=/usr/man/manroff
2 INSTALL=install
3 #
4 # oldassn Makefile.  Revised 1996/1/28
5 #
6 DESTDIR=
7
8 DEFS=
9 CFLAGS= -O ${DEFS}
10 SEPFLAG=-i
11
12 all: oldassn oldassn.0
13
14 oldassn: oldassn.l
15         ${LEX} oldassn.l
16         ${CC} ${CFLAGS} ${SEPFLAG} -w -o oldassn lex.yy.c
17         rm lex.yy.c
18
19 install: oldassn oldassn.0
20         ${INSTALL} -s oldassn ${DESTDIR}/usr/new/oldassn
21         ${INSTALL} -c -m 444 -o bin -g bin oldassn.0 ${DESTDIR}/usr/new/man/cat1
22
23 oldassn.0: oldassn.1
24         ${MANROFF} oldassn.1 > oldassn.0
25
26 clean:
27         rm -f oldassn *.o lex.yy.c MAKELOG oldassn.0
28
29 depend:
30 tags:
31 lint: