-##===- tools/llvm-as/Makefile ------------------------------*- Makefile -*-===##
+##===- tools/llvm2cpp/Makefile -----------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
TOOLNAME = llvm2cpp
-USEDLIBS = LLVMAsmParser.a LLVMBCWriter.a LLVMCore.a \
- LLVMSupport.a LLVMbzip2.a LLVMSystem.a
+LINK_COMPONENTS = bitreader
include $(LEVEL)/Makefile.common
-CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
-CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
+CompileCommonOpts := $(CompileCommonOpts) -Wno-format