Fix: examples Makefiles should pass $(LIBS) at last
[lttng-ust.git] / doc / examples / gen-tp / Makefile
index b29eed4cf707821d8d695274d7387f2a72399150..c03859b7cbc9e36efdb60a4bff36421302c50f01 100644 (file)
@@ -21,7 +21,7 @@ LIBS = -ldl -llttng-ust
 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.024059 seconds and 4 git commands to generate.