X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Fdemo%2FMakefile;h=9c847b13a84d6a21cd270e03224c274ac789c86c;hb=1274675c9a8335b0f112f7453f838673418a368e;hp=27e4146012ab02a40051f80b858846e6529a611d;hpb=9c2a6e05e51e1b2fe5ebd1164c45122d274fb54b;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.