Commit | Line | Data |
---|---|---|
dca25f5a | 1 | # |
35378dd8 | 2 | # Copyright (c) 1987 Regents of the University of California. |
dca25f5a DF |
3 | # All rights reserved. The Berkeley software License Agreement |
4 | # specifies the terms and conditions for redistribution. | |
5 | # | |
ca67e7b4 | 6 | # @(#)Makefile 5.2 (Berkeley) 6/19/87 |
385f46d3 RC |
7 | # |
8 | CFLAGS= -O | |
35378dd8 KB |
9 | LIBC= /lib/libc.a |
10 | SRCS= arc.c box.c circle.c close.c cont.c dot.c erase.c label.c \ | |
11 | line.c linemod.c move.c open.c point.c space.c | |
385f46d3 RC |
12 | OBJS= arc.o box.o circle.o close.o cont.o dot.o erase.o label.o \ |
13 | line.o linemod.o move.o open.o point.o space.o | |
14 | ||
35378dd8 KB |
15 | all: ../libplotgigi |
16 | ||
17 | ../libplotgigi: ${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. | |
385f46d3 | 37 | |
35378dd8 KB |
38 | arc.o: arc.c gigi.h /usr/include/stdio.h /usr/include/math.h |
39 | box.o: box.c | |
40 | circle.o: circle.c gigi.h /usr/include/stdio.h /usr/include/math.h | |
ca67e7b4 C |
41 | close.o: close.c /usr/include/signal.h /usr/include/machine/trap.h gigi.h |
42 | close.o: /usr/include/stdio.h /usr/include/math.h | |
35378dd8 KB |
43 | cont.o: cont.c gigi.h /usr/include/stdio.h /usr/include/math.h |
44 | dot.o: dot.c | |
45 | erase.o: erase.c gigi.h /usr/include/stdio.h /usr/include/math.h | |
46 | label.o: label.c gigi.h /usr/include/stdio.h /usr/include/math.h | |
47 | line.o: line.c gigi.h /usr/include/stdio.h /usr/include/math.h | |
48 | linemod.o: linemod.c gigi.h /usr/include/stdio.h /usr/include/math.h | |
49 | move.o: move.c gigi.h /usr/include/stdio.h /usr/include/math.h | |
ca67e7b4 C |
50 | open.o: open.c /usr/include/signal.h /usr/include/machine/trap.h gigi.h |
51 | open.o: /usr/include/stdio.h /usr/include/math.h | |
35378dd8 KB |
52 | point.o: point.c gigi.h /usr/include/stdio.h /usr/include/math.h |
53 | space.o: space.c gigi.h /usr/include/stdio.h /usr/include/math.h | |
385f46d3 | 54 | |
35378dd8 | 55 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |