summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2011-04-30 03:03:12 +0000
committerNico Weber <nicolasweber@gmx.de>2011-04-30 03:03:12 +0000
commit1ea7b9c345171dd50dc9668841b5e02cb75ff9a8 (patch)
tree1c0f03d3490082fa40ac4693f2c17ca57e5b7cee /examples
parente190e51722e99a7dfc07cce298ac3315008bac1e (diff)
Add a Makefile to examples/Tooling for people who do not use cmake.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/Tooling/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/Tooling/Makefile b/examples/Tooling/Makefile
new file mode 100644
index 0000000000..66e86a03f1
--- /dev/null
+++ b/examples/Tooling/Makefile
@@ -0,0 +1,24 @@
+##===- examples/Tooling/Makefile ---------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+CLANG_LEVEL := ../..
+
+TOOLNAME = clang-check
+NO_INSTALL = 1
+
+# No plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
+LINK_COMPONENTS := support mc
+USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a \
+ clangTooling.a clangSema.a clangAnalysis.a \
+ clangAST.a clangParse.a clangLex.a clangBasic.a
+
+include $(CLANG_LEVEL)/Makefile
+