]> granicus.if.org Git - clang/commitdiff
Add a Makefile to examples/Tooling for people who do not use cmake.
authorNico Weber <nicolasweber@gmx.de>
Sat, 30 Apr 2011 03:03:12 +0000 (03:03 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 30 Apr 2011 03:03:12 +0000 (03:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130577 91177308-0d34-0410-b5e6-96231b3b80d8

examples/Tooling/Makefile [new file with mode: 0644]

diff --git a/examples/Tooling/Makefile b/examples/Tooling/Makefile
new file mode 100644 (file)
index 0000000..66e86a0
--- /dev/null
@@ -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
+