fix warning when assertions disabled.
[oota-llvm.git] / tools / llvm-as / Makefile
index 3fa7984e62130d58dd7af05e7a88381faa2b7682..bdeeaa1e77f0503fd02a785d6e15c96d984c6f8f 100644 (file)
@@ -1,9 +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)
-       $(LinkG) -o as $(ObjectsG) -lvmcore -lasmparser -lbcwriter -lanalysis -lasmwriter
+include $(LEVEL)/Makefile.common