X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fopt%2FMakefile;h=481c1ea7b5f62d8a7266ee12883c8c15608097b4;hb=73b43b9b549a75fb0015c825df68abd95705a67c;hp=658b2998ec8ab1a10fe86126ce5860f7d6ba2d28;hpb=8f367bd3c0f56b7b318c46cee04f77735f617777;p=oota-llvm.git diff --git a/tools/opt/Makefile b/tools/opt/Makefile index 658b2998ec8..481c1ea7b5f 100644 --- a/tools/opt/Makefile +++ b/tools/opt/Makefile @@ -1,10 +1,15 @@ +##===- tools/opt/Makefile ------------------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## LEVEL = ../.. -include $(LEVEL)/Makefile.common +TOOLNAME = opt +REQUIRES_EH := 1 -all:: opt -clean :: - rm -f opt +LINK_COMPONENTS := bitreader bitwriter instrumentation scalaropts ipo -opt : $(ObjectsG) ../../lib/Optimizations/Debug/libopt.a - $(LinkG) -o $@ $(ObjectsG) -lopt -lbcreader -lbcwriter \ - -lasmwriter -lanalysis -lvmcore -lsupport +include $(LEVEL)/Makefile.common