aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-05-26 14:35:28 +0000
committerLaurent Bercot <ska@appnovation.com>2025-05-26 14:35:28 +0000
commit432ef8b75f9e72b948be6474d804ccedc85c20e1 (patch)
treecd63c77d19762b286e5651a2205e1cf0b1353ccf
parentd9f204a34bf857c15c1d914349fb77bd71704b6e (diff)
downloadexecline-432ef8b75f9e72b948be6474d804ccedc85c20e1.tar.gz
Next iteration
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c7d2133..a8af4b4 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,9 @@ LIB_DEFS :=
BIN_SYMLINKS :=
TEST_BINS :=
+-include config.mak
+include package/targets.mak
+
define library_definition
LIB$(1) := lib$(2).$(if $(DO_ALLSTATIC),a,$(SHLIB_EXT)).xyzzy
ifdef DO_SHARED
@@ -67,9 +70,6 @@ $(DESTDIR)$(1)/$(2): $(DESTDIR)$(1)/$(SYMLINK_TARGET_$(2))
exec $(INSTALL) -l $$(<F) $$@
endef
--include config.mak
-include package/targets.mak
-
$(foreach var,$(LIB_DEFS),$(eval $(call library_definition,$(firstword $(subst =, ,$(var))),$(lastword $(subst =, ,$(var))))))
include package/deps.mak