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