resources/examples/llvm-c-ext/Makefile
changeset 49 307d55f736ec
parent 47 35c51ba4e4a7
--- a/resources/examples/llvm-c-ext/Makefile	Wed Sep 16 06:25:43 2015 +0100
+++ b/resources/examples/llvm-c-ext/Makefile	Thu Sep 17 07:36:40 2015 +0100
@@ -1,5 +1,6 @@
 CC=gccxml.real
-CFLAGS=$(shell llvm-config-3.8 --cflags)
+LLVM_CONFIG ?= llvm-config-3.8
+CFLAGS=$(shell $(LLVM_CONFIG) --cflags)
 XSLTPROC=xsltproc
 XML2DEF_XSL=../../styles/gccxml2def.xsl