doc/examples: Move the LIBS after the OBJECTS in the Makefile
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 8 Jul 2013 16:24:30 +0000 (12:24 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 8 Jul 2013 16:24:30 +0000 (12:24 -0400)
Fixes #569.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/examples/Makefile.examples.template

index badecffb220699e2934bde72175965ad237e4bc6..e1a971e391423d481207f6bd99387ab51e37b184 100644 (file)
@@ -18,7 +18,7 @@ all: $(BINARY)
 
 $(BINARY): $(OBJECTS)
        $(CC) $(CFLAGS) $(LDFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
 
 $(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) \
 
 $(OBJECTS): $(SOURCES) $(DEPS)
        $(CC) $(CPPFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(AM_CFLAGS) \
This page took 0.025065 seconds and 4 git commands to generate.