From 6ec5a85983673467adea61b9b0e9ed8c1dd89c95 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Thu, 28 Jun 2018 11:52:43 +0200 Subject: [PATCH] Put the linker flags after the source files. --- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile b/tests/Makefile index 25b1169..097a3cb 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -12,7 +12,7 @@ ${TEST_PROGS}: ../$(SRCDIR)/vimb.so test-%: test-%.c @echo "${CC} $@" - $(Q)$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< ../$(SRCDIR)/vimb.so + $(Q)$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< ../$(SRCDIR)/vimb.so $(LDFLAGS) clean: $(RM) $(TEST_PROGS) -- 2.20.1