diff options
author | midipix <writeonce@midipix.org> | 2019-01-09 05:02:17 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-01-09 05:48:19 -0500 |
commit | 9d72088bbb38be7eafb8804ca462d642e42eeab2 (patch) | |
tree | 63263d8db11aada68ef62c5c78664a57a2c5be0b | |
parent | f74bc7d8262b3c5c52ba0dd66961dd539cfde433 (diff) | |
download | sofort-9d72088bbb38be7eafb8804ca462d642e42eeab2.tar.bz2 sofort-9d72088bbb38be7eafb8804ca462d642e42eeab2.tar.xz |
build system: core: allow cfgdefs.mk to pre-set core variables.
-rw-r--r-- | sofort/core/defs.mk | 22 |
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) |