+##===- tools/llvm-dis/Makefile ------------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by the LLVM research group and 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
+USEDLIBS = bcreader vmcore support.a
+include $(LEVEL)/Makefile.common