SOURCE_FILES = src/bindings.cr src/hexa.cr src/high-level-bindings.cr doc: crystal docs $(SOURCE_FILES) HTTPD_ACCESS_LOGS ?= /tmp/access-hexa.cr-docs.log HTTPD_ADDR ?= 127.0.0.1 HTTPD_PORT ?= 9002 DIR ?= docs serve-doc: darkhttpd $(DIR) --addr $(HTTPD_ADDR) --port $(HTTPD_PORT) --log $(HTTPD_ACCESS_LOGS)