Pass the CC variable to the example Makefiles
[urcu.git] / doc / examples / Makefile.examples.template
index 4a0379ad88e82bbf3165e12a8c030743f45c0feb..6dd2baca623174da315f8b9d2a5b4064e302323a 100644 (file)
@@ -11,8 +11,8 @@
 #
 # This makefile is purposefully kept simple to support GNU and BSD make.
 
 #
 # 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
 
 endif
 CFLAGS = -g -O2 -Wall
 
This page took 0.02742 seconds and 4 git commands to generate.