Add samples

This commit is contained in:
John Zhao
2018-03-22 13:03:08 +08:00
parent b81299cfa1
commit 7e8218607c
5 changed files with 120 additions and 6 deletions

View File

@@ -11,6 +11,7 @@ help:
@echo " make build build project"
@echo " make test build test and run"
@echo " make install install project"
@echo " make samples build samples"
@echo " make clean|cleanall clean generated or useless things"
.PHONY: help
@@ -76,6 +77,14 @@ install: build
.PHONY: install
# samples
samples: install
@$(call echo,Make $@)
@$(call cmake_build,./samples/_build)
.PHONY: samples
# clean
clean:
@@ -95,6 +104,7 @@ cleanlog:
@$(call rm_f,*INFO*)
@$(call rm_f,*WARNING*)
@$(call rm_f,*ERROR*)
@$(call rm_f,*FATAL*)
.PHONY: clean cleanall cleanlog