source: trunk/minix/test/Makefile@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.5 KB
Line 
1# Makefile for the tests.
2
3CC = exec cc
4CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
5
6OBJ= 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
12BIGOBJ= test20 test24
13ROOTOBJ= test11 test33
14
15all: $(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
31clean:
32 cd select && make clean
33 -rm -rf *.o *.s *.bak test? test?? t10a t11a t11b DIR*
34
35test1: test1.c
36test2: test2.c
37test3: test3.c
38test4: test4.c
39test5: test5.c
40test6: test6.c
41test7: test7.c
42test8: test8.c
43test9: test9.c
44test10: test10.c
45t10a: t10a.c
46test11: test11.c
47t11a: t11a.c
48t11b: t11b.c
49test12: test12.c
50test13: test13.c
51test14: test14.c
52test15: test15.c
53test16: test16.c
54test17: test17.c
55test18: test18.c
56test19: test19.c
57test20: test20.c
58test21: test21.c
59test22: test22.c
60test23: test23.c
61test24: test24.c
62test25: test25.c
63test26: test26.c
64test27: test27.c
65test28: test28.c
66test29: test29.c
67test30: test30.c
68test31: test31.c
69test32: test32.c
70test33: test33.c
71test34: test34.c
72test35: test35.c
73test36: test36.c
74test37: test37.c
75test38: test38.c
76test39: test39.c
77test40: test40.c
78test41: test41.c
Note: See TracBrowser for help on using the repository browser.