summaryrefslogtreecommitdiff
path: root/project/headers.mk
blob: 065fb101c2606c878c9b1375adda126c144c0a8e (plain)
1
2
3
4
5
6
7
8
9
10
11
api_include_dirs    = $(PROJECT_DIR)/include/cparser/*/
api_include_headers = $(addsuffix *.h,$(api_include_dirs))
api_sort_headers    = $(sort $(wildcard $(api_include_headers)))
API_HEADERS         = $(api_sort_headers)

internal_dirs       = $(PROJECT_DIR)/src/internal/
internal_files      = $(addsuffix *.h,$(internal_dirs))
internal_sort_files = $(sort $(wildcard $(internal_files)))
INTERNAL_HEADERS    = $(subst $(PROJECT_DIR)/src/,src/,$(internal_sort_files))

ALL_HEADERS         = $(API_HEADERS) $(INTERNAL_HEADERS)