|
|
1.1 root 1: ASRC = stubs.awk protocol
2: HDR = commands.h io.h jerq.h balloc.h
3: CSRC = stubs.c io.c balloc.c font.c menu.c spline.c track.c
4: JSRC = atan2.c arith.c cosdeg.c norm.c rect.c
5: SRC = $(CSRC) $(ASRC)
6: OBJ = io.o stubs.o balloc.o atan2.o arith.o cosdeg.o norm.o font.o rect.o menu.o \
7: spline.o track.o
8:
9: all: libj.a
10:
11: libj.a: $(OBJ)
12: ar r libj.a $(OBJ)
13: ranlib libj.a
14:
15: stubs.o: stubs.c commands.h io.h jerq.h
16: cc -c -g stubs.c
17:
18: arith.o: arith.c jerq.h
19: cc -c -g arith.c
20:
21: spline.o: commands.h jerq.h io.h spline.c
22: cc -c -g spline.c
23:
24: track.o: commands.h jerq.h io.h track.c
25: cc -c -g track.c
26:
27: rect.o: rect.c jerq.h
28: cc -c -g rect.c
29:
30: font.o: font.c jerq.h commands.h io.h
31: cc -c -g font.c
32:
33: menu.o: menu.c jerq.h commands.h io.h
34: cc -c -g menu.c
35:
36: commands.h stubs.c: protocol stubs.awk
37: awk -f stubs.awk protocol
38:
39: io.o: io.c $(HDR)
40: cc -c -g io.c
41:
42: balloc.o: jerq.h balloc.h commands.h
43: cc -c -g balloc.c
44:
45: install: libj.a commands.h jerq.h io.h
46: cp libj.a /usr/lib
47: ranlib /usr/lib/libj.a
48: cp jerq.h /usr/include
49:
50: clean:
51: rm $(OBJ) libj.a
52:
53: print:
54: pr $(HDR) $(CSRC) | can
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.