1 ##===- tools/llvm-upgrade/Makefile -------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file was developed by Reid Spencer and is distributed under the
6 # University of Illinois Open Source License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
11 TOOLNAME = llvm-upgrade
12 LINK_COMPONENTS := support system
14 include $(LEVEL)/Makefile.common
16 # Make the object code file for the lexer depend upon the header file generated
17 # by the Bison parser. This prevents the Lexer from being compiled before the
18 # header file it needs is built.
19 $(ObjDir)/upgradeLexer.o: $(PROJ_SRC_DIR)/UpgradeParser.h
22 ../../Debug/bin/llvm-upgrade -o - ../../test/Feature/basictest.ll