Blame project/headers.mk

8d7d11
api_include_dirs    = $(SOURCE_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
8d7d11
internal_dirs       = $(SOURCE_DIR)/src/internal/
815e3b
internal_files      = $(addsuffix *.h,$(internal_dirs))
815e3b
internal_sort_files = $(sort $(wildcard $(internal_files)))
8d7d11
INTERNAL_HEADERS    = $(subst $(SOURCE_DIR)/src/,src/,$(internal_sort_files))
ffea9c
815e3b
ALL_HEADERS         = $(API_HEADERS) $(INTERNAL_HEADERS)