+##===- tools/llvm-as/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:: as
-clean::
- rm -f as
+TOOLNAME = llvm-as
+USEDLIBS = LLVMAsmParser LLVMBCWriter LLVMCore \
+ LLVMSupport.a LLVMbzip2 LLVMSystem.a
-as : $(ObjectsG)
- $(LinkG) -o as $(ObjectsG) -lasmparser -lbcwriter -lasmwriter -lanalysis -lvmcore -lsupport
+include $(LEVEL)/Makefile.common