Bugpoint has the ability of generating a plethora of core files, so to
[oota-llvm.git] / tools / analyze / Makefile
index 1ff0e53fd8f47622ebea2f3c982e13ac1096c121..6fd5d9400097aa0a308729a136958929edaea9a4 100644 (file)
@@ -1,13 +1,8 @@
 LEVEL = ../..
-include $(LEVEL)/Makefile.common
-
-all:: analyze
-clean ::
-       rm -f analyze
+TOOLNAME = analyze
+USEDLIBS = asmparser bcreader scalaropts.a transforms.a analysis ipa \
+           datastructure target.a transformutils.a scalaropts.a vmcore support
+TOOLLINKOPTS = $(PLATFORMLIBDL)
 
-LIBDEPS =  ../../lib/Optimizations/Debug/libopt.a  ../../lib/Analysis/Debug/libanalysis.a
+include $(LEVEL)/Makefile.common
 
-analyze : $(ObjectsG) Debug/.dir Depend/.dir $(LIBDEPS)
-       $(LinkG) -o $@ $(ObjectsG) -lopt -lasmparser \
-                                  -lbcreader -lvmcore -lasmwriter -lanalysis \
-                                   -lopt -lsupport