| make -C ex V=1 clean > ex.out 2>&1 |
| make -C ex V=1 >> ex.out 2>&1 |
| if [ ! -x ./ex/ex ]; then |
| make -C ex V=1 clean > /dev/null 2>&1 |
| function test_ex_suffix { |
| make -C ex V=1 clean > ex.out 2>&1 |
| # use -rR to disable make's builtin rules |
| make -rR -C ex V=1 ex.o >> ex.out 2>&1 |
| make -rR -C ex V=1 ex.i >> ex.out 2>&1 |
| make -rR -C ex V=1 ex.s >> ex.out 2>&1 |
| if [ ! -f ./ex/ex.o -o ! -f ./ex/ex.i -o ! -f ./ex/ex.s ]; then |
| make -C ex V=1 clean > /dev/null 2>&1 |
| function test_ex_include { |
| make -C ex V=1 clean > ex.out 2>&1 |
| # build with krava.h include |
| make -C ex V=1 CFLAGS=-DINCLUDE >> ex.out 2>&1 |
| if [ ! -x ./ex/ex ]; then |
| # build without the include |
| make -C ex V=1 >> ex.out 2>&1 |
| if [ ! -x ./ex/ex ]; then |
| make -C ex V=1 clean > /dev/null 2>&1 |