Add a test for llvm-ar's 'd' operation.
[oota-llvm.git] / tools / llc / Makefile
index a5b098c0736af27012126b21236300ed2ff2182f..c24f378bc53891d2c94be103d6c06e5bbf868c71 100644 (file)
@@ -1,18 +1,15 @@
-LEVEL = ../..
-
-## List source files in link order
-Source  = \
-         llc.o \
-         LLCOptions.o
+#===- tools/llc/Makefile -----------------------------------*- Makefile -*-===##
+# 
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+# 
+##===----------------------------------------------------------------------===##
+
+LEVEL := ../..
+TOOLNAME := llc
+LINK_COMPONENTS := all-targets bitreader asmparser irreader
 
 include $(LEVEL)/Makefile.common
 
-all:: llc
-clean::        
-       rm -f llc
-
-llc : $(ObjectsG)
-       $(LinkG) -o $@ $(ObjectsG) \
-               -lselect -lsparc -ltarget \
-               -lopt -lbcreader -lbcwriter \
-               -lvmcore -lasmwriter -lanalysis -lsupport