cleanups, add manual page
[unix-history] / usr / src / usr.bin / graph / Makefile
CommitLineData
7a92f0d3 1#
ba710df4
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
9LIBC= /lib/libc.a
10SRCS= graph.c
11OBJS= graph.o
12
13all: graph
14
15graph: ${SRCS} ${LIBC}
16 ${CC} -o $@ ${CFLAGS} ${SRCS} -lplot -lm
17
18clean: FRC
19 rm -f ${OBJS} core graph
20
21depend: FRC
22 mkdep ${CFLAGS} ${SRCS}
23
24install: FRC
25 install -s -o bin -g bin -m 755 graph ${DESTDIR}/usr/bin/graph
26
27lint: FRC
28 lint ${CFLAGS} ${SRCS}
29
30tags: FRC
31 ctags ${SRCS}
7a92f0d3 32
ba710df4 33FRC:
7a92f0d3 34
ba710df4
KB
35# DO NOT DELETE THIS LINE -- mkdep uses it.
36# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
7a92f0d3 37
ba710df4 38graph.o: graph.c /usr/include/stdio.h /usr/include/ctype.h /usr/include/math.h
a8629c9c 39
ba710df4 40# IF YOU PUT ANYTHING HERE IT WILL GO AWAY