summaryrefslogtreecommitdiff
path: root/sofort/core/defs.mk
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-09 05:02:17 -0500
committermidipix <writeonce@midipix.org>2019-01-09 05:48:05 -0500
commit818448049c956a7e50fdcfd863d80a18b13e6bbe (patch)
treefea233e6e4eb6fcffcf62008ec4d649014c9c9a2 /sofort/core/defs.mk
parent9e9df531c2ce31242e721c5434298ce2eed5be88 (diff)
downloadbfirm-818448049c956a7e50fdcfd863d80a18b13e6bbe.tar.bz2
bfirm-818448049c956a7e50fdcfd863d80a18b13e6bbe.tar.xz
build system: core: allow cfgdefs.mk to pre-set core variables.
Diffstat (limited to 'sofort/core/defs.mk')
-rw-r--r--sofort/core/defs.mk22
1 files changed, 11 insertions, 11 deletions
diff --git a/sofort/core/defs.mk b/sofort/core/defs.mk
index 151bc3d..ff656c8 100644
--- a/sofort/core/defs.mk
+++ b/sofort/core/defs.mk
@@ -1,18 +1,18 @@
-SHARED_LIB_DEPS =
-SHARED_APP_DEPS =
-STATIC_APP_DEPS =
+SHARED_LIB_DEPS +=
+SHARED_APP_DEPS +=
+STATIC_APP_DEPS +=
-COMMON_LOBJS = $(COMMON_SRCS:.c=.lo)
-COMMON_OBJS = $(COMMON_SRCS:.c=.o)
+COMMON_LOBJS += $(COMMON_SRCS:.c=.lo)
+COMMON_OBJS += $(COMMON_SRCS:.c=.o)
-ARCH_LOBJS = $(ARCH_SRCS:.c=.lo)
-ARCH_OBJS = $(ARCH_SRCS:.c=.o)
+ARCH_LOBJS += $(ARCH_SRCS:.c=.lo)
+ARCH_OBJS += $(ARCH_SRCS:.c=.o)
-APP_LOBJS = $(APP_SRCS:.c=.lo)
-APP_OBJS = $(APP_SRCS:.c=.o)
+APP_LOBJS += $(APP_SRCS:.c=.lo)
+APP_OBJS += $(APP_SRCS:.c=.o)
-SHARED_OBJS = $(COMMON_LOBJS) $(ARCH_LOBJS)
-STATIC_OBJS = $(COMMON_OBJS) $(ARCH_OBJS)
+SHARED_OBJS += $(COMMON_LOBJS) $(ARCH_LOBJS)
+STATIC_OBJS += $(COMMON_OBJS) $(ARCH_OBJS)
STATIC_LIB_NAME = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT)
STATIC_LIB = lib/$(STATIC_LIB_NAME)