X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Feasy-ust%2FMakefile;h=723780f31940bb35f466cc8107ccf5b86e371e21;hb=1274675c9a8335b0f112f7453f838673418a368e;hp=966c4744bb3c359e100bce061a0e273cb313f986;hpb=9c2a6e05e51e1b2fe5ebd1164c45122d274fb54b;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.