Blame project/headers.mk

815e3b
api_include_dirs    = $(PROJECT_DIR)/include/cparser/*/
815e3b
api_include_headers = $(addsuffix *.h,$(api_include_dirs))
815e3b
api_sort_headers    = $(sort $(wildcard $(api_include_headers)))
815e3b
API_HEADERS         = $(api_sort_headers)
ffea9c
815e3b
internal_dirs       = $(PROJECT_DIR)/src/internal/
815e3b
internal_files      = $(addsuffix *.h,$(internal_dirs))
815e3b
internal_sort_files = $(sort $(wildcard $(internal_files)))
815e3b
INTERNAL_HEADERS    = $(subst $(PROJECT_DIR)/src/,src/,$(internal_sort_files))
ffea9c
815e3b
ALL_HEADERS         = $(API_HEADERS) $(INTERNAL_HEADERS)