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