X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=doc%2Fexamples%2FMakefile.examples.template;h=6dd2baca623174da315f8b9d2a5b4064e302323a;hp=4a0379ad88e82bbf3165e12a8c030743f45c0feb;hb=d251e6454df8976cd28c01536e0e41f02f5de072;hpb=76d6a95136c6879dfc262b08aabf3c0a81126ffe diff --git a/doc/examples/Makefile.examples.template b/doc/examples/Makefile.examples.template index 4a0379a..6dd2bac 100644 --- a/doc/examples/Makefile.examples.template +++ b/doc/examples/Makefile.examples.template @@ -11,8 +11,8 @@ # # This makefile is purposefully kept simple to support GNU and BSD make. -ifndef CC -CC = gcc +ifdef AM_CC +CC = $(AM_CC) endif CFLAGS = -g -O2 -Wall