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