From: Alexandre Montplaisir Date: Mon, 8 Jul 2013 16:24:30 +0000 (-0400) Subject: doc/examples: Move the LIBS after the OBJECTS in the Makefile X-Git-Tag: v0.8.0~9 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bda791c1073f2074236173039faf34edb713ddf7;p=userspace-rcu.git doc/examples: Move the LIBS after the OBJECTS in the Makefile Fixes #569. Signed-off-by: Alexandre Montplaisir Signed-off-by: Mathieu Desnoyers --- diff --git a/doc/examples/Makefile.examples.template b/doc/examples/Makefile.examples.template index badecff..e1a971e 100644 --- a/doc/examples/Makefile.examples.template +++ b/doc/examples/Makefile.examples.template @@ -18,7 +18,7 @@ all: $(BINARY) $(BINARY): $(OBJECTS) $(CC) $(CFLAGS) $(LDFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ - $(LIBS) -o $@ $(OBJECTS) + -o $@ $(OBJECTS) $(LIBS) $(OBJECTS): $(SOURCES) $(DEPS) $(CC) $(CPPFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(AM_CFLAGS) \