Line | |
---|
1 | # Makefile for the tests.
|
---|
2 |
|
---|
3 | CC = exec cc
|
---|
4 | CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
|
---|
5 |
|
---|
6 | OBJ= test1 test2 test3 test4 test5 test6 test7 test8 test9 \
|
---|
7 | test10 test12 test13 test14 test15 test16 test17 test18 test19 \
|
---|
8 | test21 test22 test23 test25 test26 test27 test28 test29 \
|
---|
9 | test30 test31 test32 test34 test35 test36 test37 test38 test39 \
|
---|
10 | test40 test41 t10a t11a t11b
|
---|
11 |
|
---|
12 | BIGOBJ= test20 test24
|
---|
13 | ROOTOBJ= test11 test33
|
---|
14 |
|
---|
15 | all: $(OBJ) $(BIGOBJ) $(ROOTOBJ)
|
---|
16 | chmod 755 *.sh run
|
---|
17 |
|
---|
18 | $(OBJ):
|
---|
19 | $(CC) $(CFLAGS) -o $@ $@.c
|
---|
20 | @install -S 10kw $@
|
---|
21 |
|
---|
22 | $(BIGOBJ):
|
---|
23 | $(CC) $(CFLAGS) -o $@ $@.c
|
---|
24 | @install -S 32kw $@
|
---|
25 |
|
---|
26 | $(ROOTOBJ):
|
---|
27 | $(CC) $(CFLAGS) $@.c
|
---|
28 | @install -c -S 10kw -o root -m 4755 a.out $@
|
---|
29 | @rm a.out
|
---|
30 |
|
---|
31 | clean:
|
---|
32 | cd select && make clean
|
---|
33 | -rm -rf *.o *.s *.bak test? test?? t10a t11a t11b DIR*
|
---|
34 |
|
---|
35 | test1: test1.c
|
---|
36 | test2: test2.c
|
---|
37 | test3: test3.c
|
---|
38 | test4: test4.c
|
---|
39 | test5: test5.c
|
---|
40 | test6: test6.c
|
---|
41 | test7: test7.c
|
---|
42 | test8: test8.c
|
---|
43 | test9: test9.c
|
---|
44 | test10: test10.c
|
---|
45 | t10a: t10a.c
|
---|
46 | test11: test11.c
|
---|
47 | t11a: t11a.c
|
---|
48 | t11b: t11b.c
|
---|
49 | test12: test12.c
|
---|
50 | test13: test13.c
|
---|
51 | test14: test14.c
|
---|
52 | test15: test15.c
|
---|
53 | test16: test16.c
|
---|
54 | test17: test17.c
|
---|
55 | test18: test18.c
|
---|
56 | test19: test19.c
|
---|
57 | test20: test20.c
|
---|
58 | test21: test21.c
|
---|
59 | test22: test22.c
|
---|
60 | test23: test23.c
|
---|
61 | test24: test24.c
|
---|
62 | test25: test25.c
|
---|
63 | test26: test26.c
|
---|
64 | test27: test27.c
|
---|
65 | test28: test28.c
|
---|
66 | test29: test29.c
|
---|
67 | test30: test30.c
|
---|
68 | test31: test31.c
|
---|
69 | test32: test32.c
|
---|
70 | test33: test33.c
|
---|
71 | test34: test34.c
|
---|
72 | test35: test35.c
|
---|
73 | test36: test36.c
|
---|
74 | test37: test37.c
|
---|
75 | test38: test38.c
|
---|
76 | test39: test39.c
|
---|
77 | test40: test40.c
|
---|
78 | test41: test41.c
|
---|
Note:
See
TracBrowser
for help on using the repository browser.