Add libuvc on macOS

This commit is contained in:
John Zhao
2018-03-22 12:57:35 +08:00
parent 50936ae612
commit b81299cfa1
10 changed files with 290 additions and 15 deletions

View File

@@ -10,6 +10,7 @@ help:
@echo " make init init project"
@echo " make build build project"
@echo " make test build test and run"
@echo " make install install project"
@echo " make clean|cleanall clean generated or useless things"
.PHONY: help
@@ -30,14 +31,6 @@ opendoc: apidoc
.PHONY: apidoc opendoc
# init
init:
@$(call echo,Make $@)
@$(SH) ./scripts/init.sh
.PHONY: init
# deps
submodules:
@@ -50,6 +43,14 @@ third_party: submodules
.PHONY: submodules third_party
# init
init: submodules
@$(call echo,Make $@)
@$(SH) ./scripts/init.sh
.PHONY: init
# build
build: third_party
@@ -67,12 +68,21 @@ test: submodules
.PHONY: test
# install
install: build
@$(call echo,Make $@)
@cd ./_build; make install
.PHONY: install
# clean
clean:
@$(call echo,Make $@)
@$(call rm,./_build/)
@$(call rm,./_output/)
@$(call rm,./_install/)
@$(MAKE) cleanlog
cleanall: clean
@@ -107,7 +117,7 @@ host:
.PHONY: host
cpplint:
cpplint: submodules
@$(call echo,Make $@)
@$(SH) ./scripts/$@.sh