for x in res channels pbx apps codecs formats agi cdr astman; do make -C $x clean || exit 1 ; done make[1]: Entering directory `/usr/src/asterisk/res' rm -f *.so *.o make[1]: Leaving directory `/usr/src/asterisk/res' make[1]: Entering directory `/usr/src/asterisk/channels' rm -f *.so *.o rm -f busy.h ringtone.h gentone gentone-ulaw make[1]: Leaving directory `/usr/src/asterisk/channels' make[1]: Entering directory `/usr/src/asterisk/pbx' rm -f *.so *.o make[1]: Leaving directory `/usr/src/asterisk/pbx' make[1]: Entering directory `/usr/src/asterisk/apps' rm -f *.so *.o look make[1]: Leaving directory `/usr/src/asterisk/apps' make[1]: Entering directory `/usr/src/asterisk/codecs' rm -f *.so *.o ! [ -d g723.1 ] || make -C g723.1 clean ! [ -d g723.1b ] || make -C g723.1b clean make -C gsm clean make[2]: Entering directory `/usr/src/asterisk/codecs/gsm' rm -f */*.o \ ./tst/lin2cod ./tst/lin2txt \ ./tst/cod2lin ./tst/cod2txt \ ./tst/gsm2cod \ ./tst/*.*.* find . \( -name core -o -name foo \) \ -print | xargs rm -f rm -f ./lib/libgsm.a ./add-test/add \ ./bin/toast ./bin/tcat ./bin/untoast \ ./gsm-1.0.tar.Z make[2]: Leaving directory `/usr/src/asterisk/codecs/gsm' make -C mp3 clean make[2]: Entering directory `/usr/src/asterisk/codecs/mp3' rm -f src/cdct.o src/cupl3.o src/hwin.o src/iup.o src/l3init.o src/msis.o src/wavep.o src/csbt.o src/cwinm.o src/icdct.o src/mdct.o src/uph.o src/cup.o src/dec8.o src/isbt.o src/l3dq.o src/mhead.o src/upsf.o src/iwinm.o rm -f libmp3.a make[2]: Leaving directory `/usr/src/asterisk/codecs/mp3' make -C lpc10 clean make[2]: Entering directory `/usr/src/asterisk/codecs/lpc10' rm -f *.o ./liblpc10.a make[2]: Leaving directory `/usr/src/asterisk/codecs/lpc10' make -C ilbc clean make[2]: Entering directory `/usr/src/asterisk/codecs/ilbc' rm -f libilbc.a *.o make[2]: Leaving directory `/usr/src/asterisk/codecs/ilbc' make[1]: Leaving directory `/usr/src/asterisk/codecs' make[1]: Entering directory `/usr/src/asterisk/formats' rm -f *.so *.o make[1]: Leaving directory `/usr/src/asterisk/formats' make[1]: Entering directory `/usr/src/asterisk/agi' rm -f *.so *.o look make[1]: Leaving directory `/usr/src/asterisk/agi' make[1]: Entering directory `/usr/src/asterisk/cdr' rm -f *.so *.o make[1]: Leaving directory `/usr/src/asterisk/cdr' make[1]: Entering directory `/usr/src/asterisk/astman' rm -f *.o astman make[1]: Leaving directory `/usr/src/asterisk/astman' rm -f *.o *.so asterisk rm -f build.h rm -f ast_expr.c make[1]: Entering directory `/usr/src/asterisk/editline' rm -f fcns.c help.c editline.c common.h emacs.h vi.h fcns.h help.h libedit.a libedit.so.2 rm -f editline.o_a np/strlcat.o_a np/strlcpy.o_a np/fgetln.o_a np/vis.o_a np/unvis.o_a history.o_a tokenizer.o_a readline.o_a rm -f editline.o_s np/strlcat.o_s np/strlcpy.o_s np/fgetln.o_s np/vis.o_s np/unvis.o_s history.o_s tokenizer.o_s readline.o_s rm -f TEST/test.o TEST/test make[1]: Leaving directory `/usr/src/asterisk/editline' make -C db1-ast clean make[1]: Entering directory `/usr/src/asterisk/db1-ast' rm -f libdb1.a libdb.so.2 hash.o hash_bigkey.o hash_buf.o hash_func.o hash_log2.o hash_page.o ndbm.o bt_close.o bt_conv.o bt_debug.o bt_delete.o bt_get.o bt_open.o bt_overflow.o bt_page.o bt_put.o bt_search.o bt_seq.o bt_split.o bt_utils.o db.o mpool.o rec_close.o rec_delete.o rec_get.o rec_open.o rec_put.o rec_search.o rec_seq.o rec_utils.o hash.os hash_bigkey.os hash_buf.os hash_func.os hash_log2.os hash_page.os ndbm.os bt_close.os bt_conv.os bt_debug.os bt_delete.os bt_get.os bt_open.os bt_overflow.os bt_page.os bt_put.os bt_search.os bt_seq.os bt_split.os bt_utils.os db.os mpool.os rec_close.os rec_delete.os rec_get.os rec_open.os rec_put.os rec_search.os rec_seq.os rec_utils.os make[1]: Leaving directory `/usr/src/asterisk/db1-ast' make: *** No rule to make target `make'. Stop. [root@epc-Linux-demo asterisk]#