1 # This file requires the clang build system, at least for now. So to use this 2 # Makefile, you should execute the following commands to copy this directory 3 # into a clang checkout: 4 # 5 # cp -R <this directory> third_party/llvm/tools/clang/tools/chrome-plugin 6 # cd third_party/llvm/tools/clang/tools/chrome-plugin 7 # make 8 9 CLANG_LEVEL := ../.. 10 LIBRARYNAME = FindBadConstructs 11 12 LINK_LIBS_IN_SHARED = 0 13 SHARED_LIBRARY = 1 14 15 include $(CLANG_LEVEL)/Makefile 16 17 ifeq ($(OS),Darwin) 18 LDFLAGS=-Wl,-undefined,dynamic_lookup 19 endif 20