Commit | Line | Data |
---|---|---|
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 | # |
8 | CFLAGS= -O | |
9 | DESTDIR= | |
10 | ||
11 | more: more.o | |
bb276684 | 12 | ${CC} -o more more.o -ltermcap |
0a083259 SL |
13 | |
14 | install: 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 | ||
20 | more.o: more.c | |
21 | more.o: /usr/include/stdio.h | |
22 | more.o: /usr/include/ctype.h | |
23 | more.o: /usr/include/signal.h | |
24 | more.o: /usr/include/errno.h | |
25 | more.o: /usr/include/sgtty.h | |
26 | more.o: /usr/include/setjmp.h | |
27 | more.o: /usr/include/sys/types.h | |
28 | more.o: /usr/include/sys/stat.h | |
0a083259 SL |
29 | |
30 | clean: | |
31 | rm -f more more.o core a.out errs |