X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fexamples%2Fdemo%2FMakefile;fp=doc%2Fexamples%2Fdemo%2FMakefile;h=9c847b13a84d6a21cd270e03224c274ac789c86c;hb=0728d3076b4c51ae1f58892a463d5e522ed8b044;hp=27e4146012ab02a40051f80b858846e6529a611d;hpb=acc6a83584f46fea81e4554df137cfda4434a1e4;p=lttng-ust.git diff --git a/doc/examples/demo/Makefile b/doc/examples/demo/Makefile index 27e41460..9c847b13 100644 --- a/doc/examples/demo/Makefile +++ b/doc/examples/demo/Makefile @@ -14,7 +14,10 @@ # # This makefile is purposefully kept simple to support GNU and BSD make. -CC = gcc +ifdef AM_CC + CC = $(AM_CC) +endif + LIBS = -ldl # On Linux #LIBS = -lc # On BSD LOCAL_CPPFLAGS += -I.