136 lines
5.5 KiB
Makefile
136 lines
5.5 KiB
Makefile
# 总的 Makefile,用于调用目录下各个子工程对应的 Makefile
|
||
# 注意: Linux 下编译方式:
|
||
# 1. 从 http://pkgman.jieliapp.com/doc/all 处找到下载链接
|
||
# 2. 下载后,解压到 /opt/jieli 目录下,保证
|
||
# /opt/jieli/common/bin/clang 存在(注意目录层次)
|
||
# 3. 确认 ulimit -n 的结果足够大(建议大于8096),否则链接可能会因为打开文件太多而失败
|
||
# 可以通过 ulimit -n 8096 来设置一个较大的值
|
||
# 支持的目标
|
||
# make ac791n_demo_demo_ui
|
||
# make ac791n_demo_demo_matter
|
||
# make ac791n_demo_demo_hello
|
||
# make ac791n_demo_demo_edr
|
||
# make ac791n_demo_demo_uvc
|
||
# make ac791n_demo_demo_video
|
||
# make ac791n_demo_demo_wifi
|
||
# make ac791n_demo_demo_wifi_ext
|
||
# make ac791n_demo_demo_devkitboard
|
||
# make ac791n_demo_demo_audio
|
||
# make ac791n_demo_demo_ble
|
||
# make ac790n_wifi_camera
|
||
# make ac791n_wifi_camera
|
||
# make ac790n_wifi_story_machine
|
||
# make ac791n_wifi_story_machine
|
||
# make ac791n_wifi_ipc
|
||
# make ac791n_scan_box
|
||
|
||
.PHONY: all clean ac791n_demo_demo_ui ac791n_demo_demo_matter ac791n_demo_demo_hello ac791n_demo_demo_edr ac791n_demo_demo_uvc ac791n_demo_demo_video ac791n_demo_demo_wifi ac791n_demo_demo_wifi_ext ac791n_demo_demo_devkitboard ac791n_demo_demo_audio ac791n_demo_demo_ble ac790n_wifi_camera ac791n_wifi_camera ac790n_wifi_story_machine ac791n_wifi_story_machine ac791n_wifi_ipc ac791n_scan_box clean_ac791n_demo_demo_ui clean_ac791n_demo_demo_matter clean_ac791n_demo_demo_hello clean_ac791n_demo_demo_edr clean_ac791n_demo_demo_uvc clean_ac791n_demo_demo_video clean_ac791n_demo_demo_wifi clean_ac791n_demo_demo_wifi_ext clean_ac791n_demo_demo_devkitboard clean_ac791n_demo_demo_audio clean_ac791n_demo_demo_ble clean_ac790n_wifi_camera clean_ac791n_wifi_camera clean_ac790n_wifi_story_machine clean_ac791n_wifi_story_machine clean_ac791n_wifi_ipc clean_ac791n_scan_box
|
||
|
||
all: ac791n_demo_demo_ui ac791n_demo_demo_matter ac791n_demo_demo_hello ac791n_demo_demo_edr ac791n_demo_demo_uvc ac791n_demo_demo_video ac791n_demo_demo_wifi ac791n_demo_demo_wifi_ext ac791n_demo_demo_devkitboard ac791n_demo_demo_audio ac791n_demo_demo_ble ac790n_wifi_camera ac791n_wifi_camera ac790n_wifi_story_machine ac791n_wifi_story_machine ac791n_wifi_ipc ac791n_scan_box
|
||
@echo +ALL DONE
|
||
|
||
clean: clean_ac791n_demo_demo_ui clean_ac791n_demo_demo_matter clean_ac791n_demo_demo_hello clean_ac791n_demo_demo_edr clean_ac791n_demo_demo_uvc clean_ac791n_demo_demo_video clean_ac791n_demo_demo_wifi clean_ac791n_demo_demo_wifi_ext clean_ac791n_demo_demo_devkitboard clean_ac791n_demo_demo_audio clean_ac791n_demo_demo_ble clean_ac790n_wifi_camera clean_ac791n_wifi_camera clean_ac790n_wifi_story_machine clean_ac791n_wifi_story_machine clean_ac791n_wifi_ipc clean_ac791n_scan_box
|
||
@echo +CLEAN DONE
|
||
|
||
ac791n_demo_demo_ui:
|
||
$(MAKE) -C apps/demo/demo_ui/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_demo_demo_ui:
|
||
$(MAKE) -C apps/demo/demo_ui/board/wl82 -f Makefile clean
|
||
|
||
ac791n_demo_demo_matter:
|
||
$(MAKE) -C apps/demo/demo_matter/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_demo_demo_matter:
|
||
$(MAKE) -C apps/demo/demo_matter/board/wl82 -f Makefile clean
|
||
|
||
ac791n_demo_demo_hello:
|
||
$(MAKE) -C apps/demo/demo_hello/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_demo_demo_hello:
|
||
$(MAKE) -C apps/demo/demo_hello/board/wl82 -f Makefile clean
|
||
|
||
ac791n_demo_demo_edr:
|
||
$(MAKE) -C apps/demo/demo_edr/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_demo_demo_edr:
|
||
$(MAKE) -C apps/demo/demo_edr/board/wl82 -f Makefile clean
|
||
|
||
ac791n_demo_demo_uvc:
|
||
$(MAKE) -C apps/demo/demo_uvc/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_demo_demo_uvc:
|
||
$(MAKE) -C apps/demo/demo_uvc/board/wl82 -f Makefile clean
|
||
|
||
ac791n_demo_demo_video:
|
||
$(MAKE) -C apps/demo/demo_video/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_demo_demo_video:
|
||
$(MAKE) -C apps/demo/demo_video/board/wl82 -f Makefile clean
|
||
|
||
ac791n_demo_demo_wifi:
|
||
$(MAKE) -C apps/demo/demo_wifi/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_demo_demo_wifi:
|
||
$(MAKE) -C apps/demo/demo_wifi/board/wl82 -f Makefile clean
|
||
|
||
ac791n_demo_demo_wifi_ext:
|
||
$(MAKE) -C apps/demo/demo_wifi_ext/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_demo_demo_wifi_ext:
|
||
$(MAKE) -C apps/demo/demo_wifi_ext/board/wl82 -f Makefile clean
|
||
|
||
ac791n_demo_demo_devkitboard:
|
||
$(MAKE) -C apps/demo/demo_DevKitBoard/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_demo_demo_devkitboard:
|
||
$(MAKE) -C apps/demo/demo_DevKitBoard/board/wl82 -f Makefile clean
|
||
|
||
ac791n_demo_demo_audio:
|
||
$(MAKE) -C apps/demo/demo_audio/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_demo_demo_audio:
|
||
$(MAKE) -C apps/demo/demo_audio/board/wl82 -f Makefile clean
|
||
|
||
ac791n_demo_demo_ble:
|
||
$(MAKE) -C apps/demo/demo_ble/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_demo_demo_ble:
|
||
$(MAKE) -C apps/demo/demo_ble/board/wl82 -f Makefile clean
|
||
|
||
ac790n_wifi_camera:
|
||
$(MAKE) -C apps/wifi_camera/board/wl80 -f Makefile
|
||
|
||
clean_ac790n_wifi_camera:
|
||
$(MAKE) -C apps/wifi_camera/board/wl80 -f Makefile clean
|
||
|
||
ac791n_wifi_camera:
|
||
$(MAKE) -C apps/wifi_camera/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_wifi_camera:
|
||
$(MAKE) -C apps/wifi_camera/board/wl82 -f Makefile clean
|
||
|
||
ac790n_wifi_story_machine:
|
||
$(MAKE) -C apps/wifi_story_machine/board/wl80 -f Makefile
|
||
|
||
clean_ac790n_wifi_story_machine:
|
||
$(MAKE) -C apps/wifi_story_machine/board/wl80 -f Makefile clean
|
||
|
||
ac791n_wifi_story_machine:
|
||
$(MAKE) -C apps/wifi_story_machine/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_wifi_story_machine:
|
||
$(MAKE) -C apps/wifi_story_machine/board/wl82 -f Makefile clean
|
||
|
||
ac791n_wifi_ipc:
|
||
$(MAKE) -C apps/wifi_ipc/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_wifi_ipc:
|
||
$(MAKE) -C apps/wifi_ipc/board/wl82 -f Makefile clean
|
||
|
||
ac791n_scan_box:
|
||
$(MAKE) -C apps/scan_box/board/wl82 -f Makefile
|
||
|
||
clean_ac791n_scan_box:
|
||
$(MAKE) -C apps/scan_box/board/wl82 -f Makefile clean
|