Add copyright
[unix-history] / usr / src / old / more / Makefile
CommitLineData
5ff67f98
DF
1#
2# Copyright (c) 1980 Regents of the University of California.
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
6# @(#)Makefile 5.1 (Berkeley) %G%
0a083259
SL
7#
8CFLAGS= -O
9DESTDIR=
10
11more: more.o
bb276684 12 ${CC} -o more more.o -ltermcap
0a083259
SL
13
14install: more more.help
15 install -s more ${DESTDIR}/usr/ucb/more
16 rm -f ${DESTDIR}/usr/ucb/page
17 ln ${DESTDIR}/usr/ucb/more ${DESTDIR}/usr/ucb/page
18 install -c more.help ${DESTDIR}/usr/lib/more.help
19
20more.o: more.c
21more.o: /usr/include/stdio.h
22more.o: /usr/include/ctype.h
23more.o: /usr/include/signal.h
24more.o: /usr/include/errno.h
25more.o: /usr/include/sgtty.h
26more.o: /usr/include/setjmp.h
27more.o: /usr/include/sys/types.h
28more.o: /usr/include/sys/stat.h
0a083259
SL
29
30clean:
31 rm -f more more.o core a.out errs