perf(*): simplify Makefile.

This commit is contained in:
TinyO 2019-09-19 17:11:43 +08:00
parent 4f4dc5f341
commit 8d780caef9

View File

@ -42,7 +42,7 @@ help:
@echo " make build build project" @echo " make build build project"
@echo " make install install project" @echo " make install install project"
@echo " make samples build samples" @echo " make samples build samples"
@echo " make pkg package sdk" @echo " make pkg package sdk(windows)"
@echo " make ros build ros wrapper" @echo " make ros build ros wrapper"
@echo " make py build python wrapper" @echo " make py build python wrapper"
@echo " make clean|cleanall clean generated or useless things" @echo " make clean|cleanall clean generated or useless things"
@ -71,13 +71,6 @@ cleandoc:
.PHONY: doc apidoc opendoc cleandoc .PHONY: doc apidoc opendoc cleandoc
# deps
submodules:
@git submodule update --init
.PHONY: submodules
# init # init
init: init:
@ -267,9 +260,3 @@ host:
@echo CMAKE_BUILD_EXTRA_OPTIONS: $(CMAKE_BUILD_EXTRA_OPTIONS) @echo CMAKE_BUILD_EXTRA_OPTIONS: $(CMAKE_BUILD_EXTRA_OPTIONS)
.PHONY: host .PHONY: host
cpplint: submodules
@$(call echo,Make $@)
@$(SH) ./scripts/$@.sh
.PHONY: cpplint