From: Daniel Carl Date: Thu, 28 Jun 2018 09:52:43 +0000 (+0200) Subject: Put the linker flags after the source files. X-Git-Url: https://git.owens.tech/git.owens.tech/git.owens.tech/git?a=commitdiff_plain;h=6ec5a85983673467adea61b9b0e9ed8c1dd89c95;p=vimb.git Put the linker flags after the source files. --- 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)