From 944e2bdb67e96024a149fbdc07e5ec83bae0abe3 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 26 Jan 2020 16:40:49 -0500 Subject: build system: created skeleton. --- project/arch.mk | 0 project/common.mk | 7 +++++++ project/depends.mk | 0 project/extras.mk | 0 project/headers.mk | 5 +++++ project/osforce.mk | 0 project/overrides.mk | 1 + project/tagver.mk | 5 +++++ project/tree.mk | 10 ++++++++++ 9 files changed, 28 insertions(+) create mode 100644 project/arch.mk create mode 100644 project/common.mk create mode 100644 project/depends.mk create mode 100644 project/extras.mk create mode 100644 project/headers.mk create mode 100644 project/osforce.mk create mode 100644 project/overrides.mk create mode 100644 project/tagver.mk create mode 100644 project/tree.mk (limited to 'project') diff --git a/project/arch.mk b/project/arch.mk new file mode 100644 index 0000000..e69de29 diff --git a/project/common.mk b/project/common.mk new file mode 100644 index 0000000..4b72987 --- /dev/null +++ b/project/common.mk @@ -0,0 +1,7 @@ +API_SRCS = \ + +INTERNAL_SRCS = \ + +APP_SRCS = \ + +COMMON_SRCS = $(API_SRCS) $(INTERNAL_SRCS) diff --git a/project/depends.mk b/project/depends.mk new file mode 100644 index 0000000..e69de29 diff --git a/project/extras.mk b/project/extras.mk new file mode 100644 index 0000000..e69de29 diff --git a/project/headers.mk b/project/headers.mk new file mode 100644 index 0000000..9d50ee3 --- /dev/null +++ b/project/headers.mk @@ -0,0 +1,5 @@ +API_HEADERS = \ + +INTERNAL_HEADERS = \ + +ALL_HEADERS = $(API_HEADERS) $(INTERNAL_HEADERS) diff --git a/project/osforce.mk b/project/osforce.mk new file mode 100644 index 0000000..e69de29 diff --git a/project/overrides.mk b/project/overrides.mk new file mode 100644 index 0000000..4ac3b36 --- /dev/null +++ b/project/overrides.mk @@ -0,0 +1 @@ +src/$(PACKAGE).o: CFLAGS_CONFIG += -Wno-unused-parameter diff --git a/project/tagver.mk b/project/tagver.mk new file mode 100644 index 0000000..6a5d8d6 --- /dev/null +++ b/project/tagver.mk @@ -0,0 +1,5 @@ +VER_NAMESPACE = + +VER_MAJOR = 0 +VER_MINOR = 0 +VER_PATCH = 0 diff --git a/project/tree.mk b/project/tree.mk new file mode 100644 index 0000000..ed9e1f8 --- /dev/null +++ b/project/tree.mk @@ -0,0 +1,10 @@ +TREE_DIRS = bin src lib + +tree.tag: + mkdir -p $(TREE_DIRS) + touch tree.tag + +tree-distclean: + rmdir $(TREE_DIRS) 2> /dev/null || true + +distclean: tree-distclean -- cgit v1.2.3