R600: Don't unnecessarily repeat the register class
[oota-llvm.git] / tools / llc / Makefile
index a5b098c0736af27012126b21236300ed2ff2182f..71bce4dc1adf9a9cc303b1cd432a67f44d70b8af 100644 (file)
@@ -1,18 +1,18 @@
-LEVEL = ../..
+#===- 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.
+# 
+##===----------------------------------------------------------------------===##
 
-## List source files in link order
-Source  = \
-         llc.o \
-         LLCOptions.o
+LEVEL := ../..
+TOOLNAME := llc
+LINK_COMPONENTS := all-targets bitreader asmparser irreader
 
-include $(LEVEL)/Makefile.common
+# Support plugins.
+NO_DEAD_STRIP := 1
 
-all:: llc
-clean::        
-       rm -f llc
+include $(LEVEL)/Makefile.common
 
-llc : $(ObjectsG)
-       $(LinkG) -o $@ $(ObjectsG) \
-               -lselect -lsparc -ltarget \
-               -lopt -lbcreader -lbcwriter \
-               -lvmcore -lasmwriter -lanalysis -lsupport