X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Feasy-ust%2FMakefile;fp=doc%2Fexamples%2Feasy-ust%2FMakefile;h=723780f31940bb35f466cc8107ccf5b86e371e21;hb=0728d3076b4c51ae1f58892a463d5e522ed8b044;hp=966c4744bb3c359e100bce061a0e273cb313f986;hpb=acc6a83584f46fea81e4554df137cfda4434a1e4;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.