aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-16 22:38:00 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-16 22:38:00 +0000
commitda589a3a963e6cc179d850c5fd395d3e10ce741c (patch)
tree2877c5ef051614446d96396059c076fca22924b0 /Makefile
parentdee8dbed1e30b78cb65f4ab3a7e98f91e2059c03 (diff)
Don't build examples by default, use BUILD_EXAMPLES=1 to build them. The only utility of this is testing that we keep the examples up to date, I will just make the buildbots run with this flag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88979 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 671f92c77e..31c1b6961a 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,11 @@ ifeq ($(BUILD_DIRS_ONLY),1)
else
DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-config \
tools runtime docs unittests
- OPTIONAL_DIRS := examples projects bindings
+ OPTIONAL_DIRS := projects bindings
+endif
+
+ifeq ($(BUILD_EXAMPLES),1)
+ OPTIONAL_DIRS += examples
endif
EXTRA_DIST := test unittests llvm.spec include win32 Xcode