Fix: Fix self-assign warning on struct ustfork_clone_info init
[lttng-ust.git] / doc / examples / easy-ust / Makefile
index 597071b58621f9e2c5bbc033a5d130dec4b588e5..1e3c941268f5aad546509faa466fccebbfdfbd64 100644 (file)
 # the "html" target helps for documentation (req. code2html)
 
 CC = gcc
-LIBS = -ldl -llttng-ust
+LIBS = -ldl -llttng-ust                # On Linux
+#LIBS = -lc -llttng-ust                # On BSD
 CFLAGS = -I.
 
 all: sample
 
 sample: sample.o tp.o
-       $(CC) $(LIBS) -o $@ $^
+       $(CC) -o $@ $^ $(LIBS)
 
 sample.o: sample.c sample_component_provider.h
        $(CC) $(CFLAGS) -c -o $@ $<
This page took 0.023926 seconds and 4 git commands to generate.