Commit | Line | Data |
---|---|---|
42e01280 | 1 | # @(#)Makefile 5.3 (Berkeley) %G% |
f522cce1 KM |
2 | # |
3 | # $Header: Makefile,v 1.3 85/03/26 15:03:26 lwall Exp $ | |
4 | ||
5 | BINDIR = $(DESTDIR)/usr/new | |
6 | ||
7 | patch: patch.c | |
8 | cc patch.c -O -o patch | |
9 | ||
42e01280 | 10 | install: patch |
25558c6c | 11 | install -s patch $(BINDIR) |
f522cce1 KM |
12 | install -c -m 444 patch.n ${DESTDIR}/usr/man/mann/patch.n |
13 | ||
14 | clean: | |
25558c6c | 15 | rm -f patch patch.kit a.out core errs |
f522cce1 KM |
16 | |
17 | shar: | |
18 | shar patch.man patch.c Makefile >patch.kit | |
19 | ||
20 | lint: | |
21 | lint -phbvxac patch.c |