X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2FMakefile.examples.template;h=6dd2baca623174da315f8b9d2a5b4064e302323a;hb=6893800a4d1cc14dff0395ddcd660a5138db183d;hp=e1a971e391423d481207f6bd99387ab51e37b184;hpb=bda791c1073f2074236173039faf34edb713ddf7;p=urcu.git diff --git a/doc/examples/Makefile.examples.template b/doc/examples/Makefile.examples.template index e1a971e..6dd2bac 100644 --- a/doc/examples/Makefile.examples.template +++ b/doc/examples/Makefile.examples.template @@ -11,7 +11,9 @@ # # This makefile is purposefully kept simple to support GNU and BSD make. -CC = gcc +ifdef AM_CC +CC = $(AM_CC) +endif CFLAGS = -g -O2 -Wall all: $(BINARY)