summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-07 11:38:44 -0400
committermidipix <writeonce@midipix.org>2016-09-21 19:45:52 -0400
commit815e3b7fea9d9438eb7fd42a5e04a0b9e49a0c5f (patch)
treeb8bb6ce584174b4cd48df6fb86dc06c8b736554d /project
parentffea9c2724073e3b7d006f44670a32e625d5f5fb (diff)
downloadbcparser-815e3b7fea9d9438eb7fd42a5e04a0b9e49a0c5f.tar.bz2
bcparser-815e3b7fea9d9438eb7fd42a5e04a0b9e49a0c5f.tar.xz
build system: project/headers.mk: added header information.
Diffstat (limited to 'project')
-rw-r--r--project/headers.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/project/headers.mk b/project/headers.mk
index 9d50ee3..065fb10 100644
--- a/project/headers.mk
+++ b/project/headers.mk
@@ -1,5 +1,11 @@
-API_HEADERS = \
+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_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)
+ALL_HEADERS = $(API_HEADERS) $(INTERNAL_HEADERS)