X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=doc%2Fexamples%2Feasy-ust%2FMakefile;h=723780f31940bb35f466cc8107ccf5b86e371e21;hb=e5b701c85783b6c19ddf39601e8beba3766417a8;hp=966c4744bb3c359e100bce061a0e273cb313f986;hpb=afd20a5651f5e7c7e7f91bd08ea3be266a44f5ac;p=lttng-ust.git diff --git a/doc/examples/easy-ust/Makefile b/doc/examples/easy-ust/Makefile index 966c4744..723780f3 100644 --- a/doc/examples/easy-ust/Makefile +++ b/doc/examples/easy-ust/Makefile @@ -16,7 +16,10 @@ # # This makefile is purposefully kept simple to support GNU and BSD make. -CC = gcc +ifdef AM_CC + CC = $(AM_CC) +endif + LIBS = -ldl -llttng-ust # On Linux #LIBS = -lc -llttng-ust # On BSD LOCAL_CPPFLAGS += -I.