-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (44 loc) · 1.16 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
##
# Copyright (C) 2021 Alibaba Group Holding Limited
# Author: LuChongzhi <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
##
include build.param
all: info common platform tests examples
info:
@echo $(BUILD_LOG_START)
@echo " ========== Build Info =========="
@echo " Platform: "$(PLATFORM)
@echo " ROOT_DIR: "$(ROOT_DIR)
@echo $(BUILD_LOG_END)
common:
@echo $(BUILD_LOG_START)
make -C src/common
@echo $(BUILD_LOG_END)
platform: common
@echo $(BUILD_LOG_START)
make -C src/platform
@echo $(BUILD_LOG_END)
libs: platform
@echo $(BUILD_LOG_START)
make -C src/lib_camera
@echo $(BUILD_LOG_END)
tests: platform libs
@echo $(BUILD_LOG_START)
make -C tests
@echo $(BUILD_LOG_END)
examples: platform libs
@echo $(BUILD_LOG_START)
make -C examples
@echo $(BUILD_LOG_END)
clean:
rm -rf .obj
make -C src/common/ clean
make -C src/platform/ clean
make -C src/lib_camera clean
make -C tests/ clean
make -C examples/ clean
.PHONY: clean all info common platform tests examples