forked from TencentBlueKing/bscp-cpp-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (27 loc) · 796 Bytes
/
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
.PHONY: all proto examples test install deps clean
default: all
all:
@$(MAKE) -f make_base.mk
proto:
@$(MAKE) -C internal
@echo -e "\033[32m\nBuilt Proto Successfully\n\033[0m"
examples:
@$(MAKE) -C examples/get
@$(MAKE) -C examples/pullkvs
@$(MAKE) -C examples/watch
@echo -e "\033[32m\nBuilt Examples Successfully\n\033[0m"
test:
@$(MAKE) -C test
@echo -e "\033[32m\nBuilt Test Successfully\n\033[0m"
install:
@$(MAKE) install -f make_base.mk
@echo -e "\033[32m\nInstalled bscp-cpp-sdk Successfully\n\033[0m"
deps:
@sh third-party/install.sh
clean:
@$(MAKE) clean -s -f make_base.mk
@$(MAKE) clean -C examples/get
@$(MAKE) clean -C examples/pullkvs
@$(MAKE) clean -C examples/watch
@$(MAKE) clean -C test
@echo -e "\033[32m\nClean bscp-cpp-sdk Successfully\n\033[0m"