Make use of the new TOOLNAME/USEDLIBS options provided in Makefile.common
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@501 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm-dis/Makefile b/tools/llvm-dis/Makefile
index 8ce3e21..ef65811 100644
--- a/tools/llvm-dis/Makefile
+++ b/tools/llvm-dis/Makefile
@@ -1,10 +1,7 @@
LEVEL = ../..
+
+TOOLNAME = dis
+USEDLIBS = bcreader asmwriter analysis vmcore support
include $(LEVEL)/Makefile.common
-all:: dis
-clean ::
- rm -f dis
-
-dis : $(ObjectsG)
- $(LinkG) -o $@ $(ObjectsG) -lbcreader -lasmwriter -lanalysis -lvmcore -lsupport