X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=doc%2Fexamples%2Fdemo-tracef%2FMakefile;h=40e9a581e90df7657881590dab99270704be75ea;hb=8f6a68ab4249b31fd1a220b5fa75b3e24e592e8a;hp=644acdce918795fd272904ac76b7fa9d8fac8579;hpb=641c659aa0558ea68008e96c64abe9629d540ae7;p=lttng-ust.git diff --git a/doc/examples/demo-tracef/Makefile b/doc/examples/demo-tracef/Makefile index 644acdce..40e9a581 100644 --- a/doc/examples/demo-tracef/Makefile +++ b/doc/examples/demo-tracef/Makefile @@ -15,7 +15,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 # On BSD LOCAL_CPPFLAGS += -I.