|
|
1.1 root 1: CFLAGS= -O -DCOPYCODE
2:
3: c2: c20.o c21.o c22.o
4: $(CC) $(LDFLAGS) -z -o c2 c2?.o
5:
6: c20.o: c20.c c2.h
7: c21.o: c21.c c2.h
8: c22.o: c22.c c2.h
9: $(CC) $(CFLAGS) -cR c22.c
10:
11: clean:
12: rm -f *.o *.s c2
13:
14: install: c2
15: strip c2
16: cp c2 $(DESTDIR)/lib
17:
18: test:
19: rm -fr testdir
20: mkdir testdir
21: cp /lib/cpp /lib/ccom testdir
22: make clean
23: make c2
24: cp c2 testdir/c2
25: make clean
26: make CFLAGS="${CFLAGS} -Btestdir/" c2
27: cp c2 testdir/c2
28: make clean
29: make CFLAGS="${CFLAGS} -Btestdir/" c2
30: strip c2 testdir/c2
31: cmp c2 testdir/c2
32: rm -fr c2 testdir
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.