Pass the CC variable to the example Makefiles
[lttng-ust.git] / doc / examples / hello-static-lib / Makefile
index 9a079ec1bfbdb6dbe250308baf746c6db30a10d5..ec185c1ca38ba59bc0dad57d85803e41e991144b 100644 (file)
 #
 # This makefile is purposefully kept simple to support GNU and BSD make.
 
-CC = gcc
+ifdef AM_CC
+       CC = $(AM_CC)
+endif
+
 LOCAL_CPPFLAGS += -I.
 LIBS = -ldl -llttng-ust        # On Linux
 #LIBS = -lc -llttng-ust        # On BSD
This page took 0.022851 seconds and 4 git commands to generate.