operator[] is not defined for list::iterator. Overload it in ilist::iterator
[oota-llvm.git] / tools / llvm-dis / Makefile
index 8ce3e2161c24c471df51b55ea12f6a2ac5a9229f..6c8d0a327cc743946da0ddd34cb890ba92c5bd67 100644 (file)
@@ -1,10 +1,15 @@
+##===- tools/llvm-dis/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
-
-all:: dis
-clean ::
-       rm -f dis
 
-dis : $(ObjectsG)
-       $(LinkG) -o $@ $(ObjectsG) -lbcreader -lasmwriter -lanalysis -lvmcore -lsupport
+TOOLNAME = llvm-dis
+LINK_COMPONENTS := bitreader
+REQUIRES_EH := 1
 
+include $(LEVEL)/Makefile.common