From bd2571900abf50262873d38c1e31359bed0da38c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 6 Mar 2017 21:37:51 +0100 Subject: [PATCH] TP 11 exo1: permit to specify linker libs to all relevant target in the Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- TP_11/exo1/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TP_11/exo1/Makefile b/TP_11/exo1/Makefile index d287ee2..f8cfee7 100644 --- a/TP_11/exo1/Makefile +++ b/TP_11/exo1/Makefile @@ -64,7 +64,7 @@ $(LIBRARY_NAME).a: $(OBJSLIB) $(LIBRARY_NAME).so: $(OBJSLIB) @echo "[LD ShO] $@" - @$(LD) $(CFLAGS) $(LIBLDFLAGS) $^ -o $@ + @$(LD) $(CFLAGS) $(LIBLDFLAGS) $^ $(LDLIBS) -o $@ $(BINARY_NAME): $(OBJS) @echo "[LD ] $@" -- 2.34.1