|
|
1.1 root 1: #
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) 6/18/87
7: #
8: CFLAGS= -O
9: LIBC= /lib/libc.a
10: SRCS= graph.c
11: OBJS= graph.o
12:
13: all: graph
14:
15: graph: ${SRCS} ${LIBC}
16: ${CC} -o $@ ${CFLAGS} ${SRCS} -lplot -lm
17:
18: clean: FRC
19: rm -f ${OBJS} core graph
20:
21: depend: FRC
22: mkdep ${CFLAGS} ${SRCS}
23:
24: install: FRC
25: install -s -o bin -g bin -m 755 graph ${DESTDIR}/usr/bin/graph
26:
27: lint: FRC
28: lint ${CFLAGS} ${SRCS}
29:
30: tags: FRC
31: ctags ${SRCS}
32:
33: FRC:
34:
35: # DO NOT DELETE THIS LINE -- mkdep uses it.
36: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
37:
38: graph.o: graph.c /usr/include/stdio.h /usr/include/ctype.h /usr/include/math.h
39:
40: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.