Do more to modernize MergeFunctions. Refactor in response to Chris' code review.
[llvm.git] / utils / llvm-lit / Makefile
blob702591f495915d214b64999377c7b70eb91f3aa5
1 ##===- utils/llvm-lit/Makefile -----------------------------*- Makefile -*-===##
2 #
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
10 LEVEL = ../..
12 include $(LEVEL)/Makefile.common
14 all:: $(ToolDir)/llvm-lit
16 $(ToolDir)/llvm-lit: llvm-lit.in $(ToolDir)/.dir
17 $(Echo) "Creating 'llvm-lit' script..."
18 $(Verb)sed -e "s#@LLVM_SOURCE_DIR@#$(LLVM_SRC_ROOT)#g" \
19 -e "s#@LLVM_BINARY_DIR@#$(LLVM_OBJ_ROOT)#g" \
20 $< > $@
21 $(Verb)chmod +x $@