added tags/depend labels
[unix-history] / usr / src / old / sed / Makefile
CommitLineData
145e05a5 1#
66456d87
KB
2# Copyright (c) 1987 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 4.3 (Berkeley) %G%
7#
8CFLAGS= -O -w
9LIBC= /lib/libc.a
10SRCS= sed0.c sed1.c
11OBJS= sed0.o sed1.o
12
13all: sed
14
15sed: ${OBJS} ${LIBC}
16 ${CC} -o $@ ${CFLAGS} ${OBJS}
17
18clean: FRC
19 rm -f ${OBJS} core sed
20
21depend: FRC
22 mkdep ${CFLAGS} ${SRCS}
23
24install: FRC
25 install -s -o bin -g bin -m 755 sed ${DESTDIR}/bin/sed
26
27lint: FRC
28 lint ${CFLAGS} ${SRCS}
29
30tags: FRC
31 ctags ${SRCS}
145e05a5 32
66456d87 33FRC:
145e05a5 34
66456d87
KB
35# DO NOT DELETE THIS LINE -- mkdep uses it.
36# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
145e05a5 37
66456d87
KB
38sed0.o: sed0.c /usr/include/stdio.h sed.h
39sed1.o: sed1.c /usr/include/stdio.h sed.h
66da2b0f 40
66456d87 41# IF YOU PUT ANYTHING HERE IT WILL GO AWAY