fix warning when assertions disabled.
[oota-llvm.git] / tools / llvm-as / Makefile
index 74bfc6844f2ed041bef3f8368cfdbae0888094fe..bdeeaa1e77f0503fd02a785d6e15c96d984c6f8f 100644 (file)
@@ -1,10 +1,15 @@
-LEVEL = ../..
-include $(LEVEL)/Makefile.common
+##===- tools/llvm-as/Makefile ------------------------------*- Makefile -*-===##
+# 
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+# 
+##===----------------------------------------------------------------------===##
 
-all:: as
-clean::
-       rm -f as
+LEVEL = ../..
+TOOLNAME = llvm-as
+LINK_COMPONENTS := asmparser bitwriter
+REQUIRES_EH := 1
 
-as : $(ObjectsG) ../../lib/Assembly/Parser/Debug/libasmparser.a \
-                ../../lib/VMCore/Debug/libvmcore.a
-       $(LinkG) -o as $(ObjectsG) -lasmparser -lbcwriter -lasmwriter -lanalysis -lvmcore  -lsupport
+include $(LEVEL)/Makefile.common