Add a test for llvm-ar's 'd' operation.
[oota-llvm.git] / tools / opt / Makefile
index 71bdcb85d916fede9e60061a2ab733a19fe83694..a451005574a55b591a0aeb04799ebcd86d635e5d 100644 (file)
@@ -1,10 +1,14 @@
-LEVEL = ../..
-include $(LEVEL)/Makefile.common
+##===- tools/opt/Makefile ----------------------------------*- Makefile -*-===##
+#
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
 
-all:: opt
-clean ::
-       rm -f opt
+LEVEL := ../..
+TOOLNAME := opt
+LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets
 
-opt : $(ObjectsG)
-       $(LinkG) -o $@ $(ObjectsG) -lvmcore -lanalysis -lbcreader -lbcwriter \
-                               -lopt -lasmwriter
+include $(LEVEL)/Makefile.common