. use library function to parse memory string
[minix3.git] / test / Makefile
blob6dd132ee58441347a7ee3f0356319b49b4c7507b
1 # Makefile for the tests.
3 CC = exec cc
4 CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
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
12 BIGOBJ= test20 test24
13 ROOTOBJ= test11 test33
15 all: $(OBJ) $(BIGOBJ) $(ROOTOBJ)
16 chmod 755 *.sh run
18 $(OBJ):
19 $(CC) $(CFLAGS) -o $@ $@.c
21 $(BIGOBJ):
22 $(CC) $(CFLAGS) -o $@ $@.c
24 $(ROOTOBJ):
25 $(CC) $(CFLAGS) $@.c
26 @install -c -o root -m 4755 a.out $@
27 @rm a.out
29 clean:
30 cd select && make clean
31 -rm -rf *.o *.s *.bak test? test?? t10a t11a t11b DIR*
33 test1: test1.c
34 test2: test2.c
35 test3: test3.c
36 test4: test4.c
37 test5: test5.c
38 test6: test6.c
39 test7: test7.c
40 test8: test8.c
41 test9: test9.c
42 test10: test10.c
43 t10a: t10a.c
44 test11: test11.c
45 t11a: t11a.c
46 t11b: t11b.c
47 test12: test12.c
48 test13: test13.c
49 test14: test14.c
50 test15: test15.c
51 test16: test16.c
52 test17: test17.c
53 test18: test18.c
54 test19: test19.c
55 test20: test20.c
56 test21: test21.c
57 test22: test22.c
58 test23: test23.c
59 test24: test24.c
60 test25: test25.c
61 test26: test26.c
62 test27: test27.c
63 test28: test28.c
64 test29: test29.c
65 test30: test30.c
66 test31: test31.c
67 test32: test32.c
68 test33: test33.c
69 test34: test34.c
70 test35: test35.c
71 test36: test36.c
72 test37: test37.c
73 test38: test38.c
74 test39: test39.c
75 test40: test40.c
76 test41: test41.c