expose LICM pass
[oota-llvm.git] / tools / opt / Makefile
index 4a14d372e5aa70a9b050ac3896745f777424da4f..cfe97d77cd72460cefd7440186bbd4bceb86557b 100644 (file)
@@ -1,10 +1,7 @@
 LEVEL = ../..
-include $(LEVEL)/Makefile.common
+TOOLNAME = opt
+USEDLIBS = bcreader bcwriter instrument profpaths scalaropts \
+           ipo ipa datastructure transforms target analysis transformutils vmcore support
 
-all:: opt
-clean ::
-       rm -f opt
+include $(LEVEL)/Makefile.common
 
-opt : $(ObjectsG) ../../lib/Optimizations/Debug/libopt.a
-       $(LinkG) -o $@ $(ObjectsG) -lopt -lbcreader -lbcwriter \
-                               -lasmwriter -lanalysis -lvmcore