Merge branch 'local-ocamlbuild' into local-trunk
[SXSI/xpathcomp.git] / benchmark / Makefile
diff --git a/benchmark/Makefile b/benchmark/Makefile
deleted file mode 100644 (file)
index f02d6b8..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-MLSRCS = benchmark.ml main.ml
-MLISRCS = benchmark.mli
-MLOBJS = $(MLSRCS:.ml=.cmx)
-MLCINT = $(MLISRCS:.mli=.cmi)
-
-
-OCAMLPACKAGES = unix,str,camlp4
-
-PPINCLUDES=$(OCAMLINCLUDES:%=-ppopt %)
-
-OCAMLOPT = ocamlopt
-
-OCAMLFIND = ocamlfind
-OCAMLMKLIB = ocamlmklib
-OCAMLDEP = ocamldep
-LINK=$(OCAMLOPT) -linkpkg camlp4lib.cmxa
-SYNTAX=-syntax camlp4o -ppopt pa_macro.cmo
-
-all: $(MLOBJS)
-       $(OCAMLFIND) $(LINK) -o test_suite -package "$(OCAMLPACKAGES)"  $(SYNTAX) $(MLOBJS)
-
-.SUFFIXES: .ml .mli .cmx .cmi
-.PHONY: depend
-
-.ml.cmx:
-       $(OCAMLFIND) $(OCAMLOPT) -package "$(OCAMLPACKAGES)"  $(SYNTAX) -c $<
-
-.mli.cmi:
-       $(OCAMLFIND) $(OCAMLOPT) -package "$(OCAMLPACKAGES)"  $(SYNTAX) -c $<
-
-clean:
-       rm -f *~ *.cm* *.[oa] *.so test_suite *.output *.query
-
-
-depend: $(MLSRCS) $(MLISRCS)
-       @$(OCAMLFIND) $(OCAMLDEP) -package "$(OCAMLPACKAGES)" $(SYNTAX) $(MLSRCS) $(MLISRCS) >depend
-
-
-include depend