From bb8509fc00928f422176dab4d36a23ff476d078b Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Sat, 30 Dec 2023 11:47:34 +0100 Subject: [PATCH] shared lib: use all objects. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b9a0247..3cdf262 100644 --- a/Makefile +++ b/Makefile @@ -198,7 +198,7 @@ cleanlibdir: $(DLIB): LDFLAGS += -shared $(DLIB): $(OBJ) | $(LIBDIR) @echo "building shared library ($@)." - $(CC) $(CFLAGS) $(LDFLAGS) $? -o $@ + @$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(SLIB): $(OBJ) | $(LIBDIR) @echo "building static library ($@)."