From 0b0271ad7cc606a2733dddc8dbd780273f5622eb Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 24 Apr 2021 23:33:19 +0000 Subject: project: common.mk, headers.mk: initial definitions. --- project/common.mk | 24 ++++++++++++++++++++++-- project/headers.mk | 17 +++++++++++++++-- 2 files changed, 37 insertions(+), 4 deletions(-) diff --git a/project/common.mk b/project/common.mk index 4b72987..8ddfc8f 100644 --- a/project/common.mk +++ b/project/common.mk @@ -1,7 +1,27 @@ API_SRCS = \ - -INTERNAL_SRCS = \ + $(SOURCE_DIR)/src/logic/arch.c \ + $(SOURCE_DIR)/src/logic/buf.c \ + $(SOURCE_DIR)/src/logic/compat.c \ + $(SOURCE_DIR)/src/logic/cond.c \ + $(SOURCE_DIR)/src/logic/dir.c \ + $(SOURCE_DIR)/src/logic/enum.c \ + $(SOURCE_DIR)/src/logic/for.c \ + $(SOURCE_DIR)/src/logic/hash.c \ + $(SOURCE_DIR)/src/logic/job.c \ + $(SOURCE_DIR)/src/logic/lst.c \ + $(SOURCE_DIR)/src/logic/main.c \ + $(SOURCE_DIR)/src/logic/make_malloc.c \ + $(SOURCE_DIR)/src/logic/meta.c \ + $(SOURCE_DIR)/src/logic/metachar.c \ + $(SOURCE_DIR)/src/logic/parse.c \ + $(SOURCE_DIR)/src/logic/str.c \ + $(SOURCE_DIR)/src/logic/suff.c \ + $(SOURCE_DIR)/src/logic/targ.c \ + $(SOURCE_DIR)/src/logic/trace.c \ + $(SOURCE_DIR)/src/logic/util.c \ + $(SOURCE_DIR)/src/logic/var.c \ APP_SRCS = \ + $(SOURCE_DIR)/src/make.c COMMON_SRCS = $(API_SRCS) $(INTERNAL_SRCS) diff --git a/project/headers.mk b/project/headers.mk index 9d50ee3..872f706 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -1,5 +1,18 @@ -API_HEADERS = \ - INTERNAL_HEADERS = \ + $(SOURCE_DIR)/src/internal/buf.h \ + $(SOURCE_DIR)/src/internal/config.h \ + $(SOURCE_DIR)/src/internal/dir.h \ + $(SOURCE_DIR)/src/internal/enum.h \ + $(SOURCE_DIR)/src/internal/hash.h \ + $(SOURCE_DIR)/src/internal/job.h \ + $(SOURCE_DIR)/src/internal/lst.h \ + $(SOURCE_DIR)/src/internal/make.h \ + $(SOURCE_DIR)/src/internal/make_malloc.h \ + $(SOURCE_DIR)/src/internal/metachar.h \ + $(SOURCE_DIR)/src/internal/meta.h \ + $(SOURCE_DIR)/src/internal/nonints.h \ + $(SOURCE_DIR)/src/internal/pathnames.h \ + $(SOURCE_DIR)/src/internal/str.h \ + $(SOURCE_DIR)/src/internal/trace.h \ ALL_HEADERS = $(API_HEADERS) $(INTERNAL_HEADERS) -- cgit v1.2.3