|
|
1.1 root 1: .SUFFIXES: .x .o .c
2: .c.o:
3: $(CC) $(CFLAGS) -c $<
4: -ld -r -X $@
5: mv a.out $@
6: .c.x:
7: $(CC) $(CFLAGS) -c $<
8: -ld -r -X $*.o
9: mv a.out $*.o
10: ar u btlib $*.o
11: rm $*.o
12: touch $*.x
13: CFLAGS=-g
14: debug: bttest
15: all: nodesize
16: all: btlib btcat btbuild bttest btcreat btreport btsquash btran btdelete
17: all: btadd btdiag btexer
18: bwrite.x bdelete.x diskrd.x diskwrt.x bt.x seek.x tran.x: cbt.h
19: btsquash.o btcreat.o btreport.o bttest.o btcat.o btbuild.o: cbt.h
20: btlib: bt.x seek.x tran.x diskrd.x diskwrt.x bwrite.x bdelete.x lib.x
21: ranlib btlib
22: cyntax:
23: cyntax bttest.c bt.c seek.c tran.c diskrd.c diskwrt.c bwrite.c bdelete.c lib.c
24: bttest: bttest.o btlib
25: $(CC) $(CFLAGS) -o bttest bttest.o btlib
26: btran: btran.o
27: $(CC) $(CFLAGS) -o btran btran.o
28: btsquash: btsquash.o btlib
29: $(CC) $(CFLAGS) -o btsquash btsquash.o btlib
30: btadd: btadd.o btlib
31: $(CC) $(CFLAGS) -o btadd btadd.o btlib
32: btreport: btreport.o btlib
33: $(CC) $(CFLAGS) -o btreport btreport.o btlib
34: btdelete: btdelete.o btlib
35: $(CC) $(CFLAGS) -o btdelete btdelete.o btlib
36: btcreat: btcreat.o cbt.h
37: $(CC) $(CFLAGS) -o btcreat btcreat.o btlib
38: btdiag: btdiag.o btlib
39: $(CC) $(CFLAGS) -o btdiag btdiag.o btlib
40: btexer: btexer.o btlib
41: $(CC) $(CFLAGS) -o btexer btexer.o btlib
42: btcat: btcat.o btlib
43: cc -o btcat btcat.o btlib
44: btbuild: btbuild.o lib.x
45: $(CC) $(CFLAGS) -o btbuild btbuild.o btlib
46: nodesize:
47: @cc -E $(CFLAGS) nodesz.c | grep nodesize
48: install:
49: -cp cbt /usr/bin
50: -cp cbt.h /usr/include
51: -cp btlib /usr/lib/libcbt.a
52: -ranlib /usr/lib/libcbt.a
53: clean:
54: rm *.o *.x btlib
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.