Index: tools/clang/plugins/Makefile |
diff --git a/tools/clang/plugins/Makefile b/tools/clang/plugins/Makefile |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9859a63dc7ebe677b364af5ebdf26909279919a8 |
--- /dev/null |
+++ b/tools/clang/plugins/Makefile |
@@ -0,0 +1,18 @@ |
+# This file requires the clang build system, at least for now. So to use this |
+# Makefile, you should execute the following commands to copy this directory |
+# into a clang checkout: |
Nico
2011/02/03 20:38:56
Ugh!
Can you add a "TODO(thakis): Improve situati
|
+# |
+# cp -R <this directory> /path/to/clang/examples/chromeplugin |
+# cd /path/to/clang/examples/chromeplugin |
+# make |
+# |
+# You can't just link the directories, or specify clang as a full path for some |
+# reason. :( |
+ |
+CLANG_LEVEL := ../.. |
+LIBRARYNAME = FindBadConstructs |
+ |
+LINK_LIBS_IN_SHARED = 1 |
+SHARED_LIBRARY = 1 |
+ |
+include $(CLANG_LEVEL)/Makefile |