summaryrefslogtreecommitdiff
path: root/tools/llvmc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvmc/Makefile')
-rw-r--r--tools/llvmc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/llvmc/Makefile b/tools/llvmc/Makefile
index 9bcb96c954..7c03e2a74f 100644
--- a/tools/llvmc/Makefile
+++ b/tools/llvmc/Makefile
@@ -11,4 +11,8 @@ LEVEL = ../..
DIRS = src
+ifeq ($(BUILD_EXAMPLES),1)
+ OPTIONAL_DIRS += examples
+endif
+
include $(LEVEL)/Makefile.common