add a method
[oota-llvm.git] / tools / llvm-as / Makefile
index fcb92935721f335392373e72924da7149e97648a..91de6d2490bbe0ead3622518d07bf203891ed130 100644 (file)
@@ -1,9 +1,14 @@
+##===- 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