MYNT-EYE-S-SDK/Makefile
2018-03-08 17:40:23 +08:00

38 lines
759 B
Makefile

include CommonDefs.mk
.DEFAULT_GOAL := help
.PHONY: help apidoc
help:
@echo "Usage:"
@echo " make help show help message"
@echo " make apidoc make api doc"
@echo " make opendoc open api doc (html)"
apidoc:
@$(call echo,Make $@)
@sh ./doc/build.sh
opendoc: apidoc
@$(call echo,Make $@)
@$(shell sh ./doc/langs.sh 1); \
for lang in "$${LANGS[@]}"; do \
html=./doc/output/$$lang/html/index.html; \
[ -f "$$html" ] && sh ./scripts/open.sh $$html; \
done
host:
@$(call echo,Make $@)
@echo HOST_OS: $(HOST_OS)
@echo HOST_ARCH: $(HOST_ARCH)
@echo ECHO: $(ECHO)
@echo CC: $(CC)
@echo CXX: $(CXX)
@echo MAKE: $(MAKE)
@echo BUILD: $(BUILD)
@echo FIND: $(FIND)
@echo LDD: $(LDD)
@echo CMAKE: $(CMAKE)
@#$(FIND) . -name READ*