blob: 830f2dd3daf6e21f53f4d4d7dd73736d25eada6d [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001$(warning !!!!! target platform=$(TARGET_PLATFORM) !!!!!)
2ifeq ($(strip $(TARGET_PLATFORM)), )
3 DIR_MAKEFILE = mt2635
4else
5 DIR_MAKEFILE = $(TARGET_PLATFORM)
6endif
7
8build:
9 $(warning ########## build libmodem ##########)
10 for i in $(DIR_MAKEFILE); do \
11 (cd $$i && make); \
12 if [ $$? != 0 ]; then \
13 exit 1; \
14 fi \
15 done
16
17install:
18 $(warning ########## install libmodem ##########)
19 for i in $(DIR_MAKEFILE); do \
20 (cd $$i && make install); \
21 if [ $$? != 0 ]; then \
22 exit 1; \
23 fi \
24 done
25
26clean:
27 for i in $(DIR_MAKEFILE); do \
28 (cd $$i && make clean); \
29 if [ $$? != 0 ]; then \
30 exit 1; \
31 fi \
32 done
33