X-Git-Url: http://git.lttng.org/?p=userspace-rcu.git;a=blobdiff_plain;f=doc%2Fexamples%2FMakefile.examples.template;h=4a0379ad88e82bbf3165e12a8c030743f45c0feb;hp=e1a971e391423d481207f6bd99387ab51e37b184;hb=3343c545bbc5154d42dd37cd3ae869ef97555e00;hpb=6425e2eea5b38186d86aca9b5deb5c642e06eb0a diff --git a/doc/examples/Makefile.examples.template b/doc/examples/Makefile.examples.template index e1a971e..4a0379a 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. +ifndef CC CC = gcc +endif CFLAGS = -g -O2 -Wall all: $(BINARY)