2018-03-08 09:54:14 +02:00
|
|
|
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
|
2018-03-08 11:33:41 +02:00
|
|
|
|
|
|
|
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*
|