Fix: examples Makefiles should pass $(LIBS) at last
[lttng-ust.git] / doc / examples / gen-tp / Makefile
index 518f017498b279814aa992c10d03133cc2b6fb45..127fb95f2ddbf37e0c10268b82d44faf29b81521 100644 (file)
@@ -23,7 +23,7 @@ LIBS = -ldl -llttng-ust               #On Linux
 all: sample
 
 sample: sample.o sample_tracepoint.o
-       $(CC) $(LIBS) -o $@ $^
+       $(CC) -o $@ $^ $(LIBS)
 
 sample.o: sample.c sample_tracepoint.h
        $(CC) $(CFLAGS) -c -o $@ $<
This page took 0.024659 seconds and 4 git commands to generate.