Commit | Line | Data |
---|---|---|
94f17316 KB |
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.4 (Berkeley) %G% | |
8c4ce912 SL |
7 | # |
8 | CFLAGS= -O | |
94f17316 KB |
9 | LIBC= /lib/libc.a |
10 | SRCS= arc.c box.c circle.c close.c dot.c erase.c label.c \ | |
11 | line.c linmod.c move.c open.c point.c space.c subr.c | |
8c4ce912 SL |
12 | OBJS= arc.o box.o circle.o close.o dot.o erase.o label.o \ |
13 | line.o linmod.o move.o open.o point.o space.o subr.o | |
14 | ||
94f17316 KB |
15 | all: ../libvt0 |
16 | ||
17 | ../libvt0: ${OBJS} | |
18 | ar cu $@ ${OBJS} | |
19 | ||
20 | clean: FRC | |
21 | rm -f ${OBJS} core | |
22 | ||
23 | depend: FRC | |
24 | mkdep ${CFLAGS} ${SRCS} | |
25 | ||
26 | lint: FRC | |
27 | lint ${CFLAGS} ${SRCS} | |
28 | ||
29 | tags: FRC | |
30 | ctags ${SRCS} | |
31 | ||
32 | install: | |
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 | arc.o: arc.c | |
39 | box.o: box.c | |
40 | circle.o: circle.c | |
41 | close.o: close.c | |
42 | dot.o: dot.c | |
43 | erase.o: erase.c | |
44 | label.o: label.c | |
45 | line.o: line.c | |
46 | linmod.o: linmod.c | |
47 | move.o: move.c | |
48 | open.o: open.c | |
49 | point.o: point.c | |
50 | space.o: space.c | |
51 | subr.o: subr.c | |
8c4ce912 | 52 | |
94f17316 | 53 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |