rationalized handling of child processes, cleaned up mail1 some more
[unix-history] / usr / src / usr.bin / dc / Makefile
CommitLineData
630f325c 1#
c1fc8c65
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.
630f325c 5#
07cf0f87 6# @(#)Makefile 5.5 (Berkeley) %G%
c1fc8c65
KB
7#
8CFLAGS= -O -I.
9LIBC= /lib/libc.a
10SRCS= dc.c
07cf0f87 11OBJS=
6fbc8861 12
630f325c
RH
13all: dc
14
07cf0f87 15dc: dc.c ${LIBC}
c1fc8c65
KB
16 ${CC} ${CFLAGS} dc.c -o $@
17
18clean: FRC
19 rm -f ${OBJS} core dc
20
21depend: FRC
22 mkdep -p ${CFLAGS} ${SRCS}
23
24install: FRC
25 install -s -o bin -g bin -m 755 dc ${DESTDIR}/usr/bin/dc
26
27lint: FRC
28 lint ${CFLAGS} ${SRCS}
29
30tags: FRC
31 ctags ${SRCS}
32
33FRC:
6fbc8861 34
c1fc8c65
KB
35# DO NOT DELETE THIS LINE -- mkdep uses it.
36# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
630f325c 37
07cf0f87
KB
38dc: dc.c /usr/include/stdio.h /usr/include/signal.h /usr/include/machine/trap.h
39dc: dc.h
a8629c9c 40
c1fc8c65 41# IF YOU PUT ANYTHING HERE IT WILL GO AWAY