4 make -C ex V=1 clean > ex.out 2>&1
5 make -C ex V=1 >> ex.out 2>&1
7 if [ ! -x ./ex/ex ]; then
12 make -C ex V=1 clean > /dev/null 2>&1
16 function test_ex_suffix {
17 make -C ex V=1 clean > ex.out 2>&1
19 # use -rR to disable make's builtin rules
20 make -rR -C ex V=1 ex.o >> ex.out 2>&1
21 make -rR -C ex V=1 ex.i >> ex.out 2>&1
22 make -rR -C ex V=1 ex.s >> ex.out 2>&1
24 if [ -x ./ex/ex ]; then
29 if [ ! -f ./ex/ex.o -o ! -f ./ex/ex.i -o ! -f ./ex/ex.s ]; then
34 make -C ex V=1 clean > /dev/null 2>&1
38 function test_ex_include {
39 make -C ex V=1 clean > ex.out 2>&1
41 # build with krava.h include
43 make -C ex V=1 CFLAGS=-DINCLUDE >> ex.out 2>&1
45 if [ ! -x ./ex/ex ]; then
50 # build without the include
51 rm -f ex/krava.h ex/ex
52 make -C ex V=1 >> ex.out 2>&1
54 if [ ! -x ./ex/ex ]; then
59 make -C ex V=1 clean > /dev/null 2>&1