| $(warning !!!!! target platform=$(TARGET_PLATFORM) !!!!!) |
| ifeq ($(strip $(TARGET_PLATFORM)), ) |
| DIR_MAKEFILE = mt2635 |
| else |
| DIR_MAKEFILE = $(TARGET_PLATFORM) |
| endif |
| |
| build: |
| $(warning ########## build libmodem ##########) |
| for i in $(DIR_MAKEFILE); do \ |
| (cd $$i && make); \ |
| if [ $$? != 0 ]; then \ |
| exit 1; \ |
| fi \ |
| done |
| |
| install: |
| $(warning ########## install libmodem ##########) |
| 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 |
| |