| ifeq ($(strip $(TARGET_PLATFORM)), mt2635) |
| DIR_MAKEFILE = mt2635 |
| else |
| DIR_MAKEFILE = audio_big_sw |
| endif |
| |
| build: |
| $(warning ########## build libspeech-drv ##########) |
| for i in $(DIR_MAKEFILE); do \ |
| (cd $$i && make); \ |
| if [ $$? != 0 ]; then \ |
| exit 1; \ |
| fi \ |
| done |
| |
| install: |
| $(warning ########## install libspeech-drv ##########) |
| for i in $(DIR_MAKEFILE); do \ |
| (cd $$i && make install); \ |
| if [ $$? != 0 ]; then \ |
| exit 1; \ |
| fi \ |
| done |
| |
| clean: |
| for i in $(DIR_MAKEFILE); do \ |
| (cd $$i && make clean); \ |
| if [ $$? != 0 ]; then \ |
| exit 1; \ |
| fi \ |
| done |