]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/uwobo/src/ocaml/Makefile
This commit was manufactured by cvs2svn to create branch 'init'.
[helm.git] / helm / uwobo / src / ocaml / Makefile
diff --git a/helm/uwobo/src/ocaml/Makefile b/helm/uwobo/src/ocaml/Makefile
deleted file mode 100644 (file)
index 0004d15..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-REQUIRES = http gdome2 gdome2-xslt pcre unix threads
-COMMONOPTS = -package "$(REQUIRES)" -pp camlp4o
-OCAMLC = ocamlfind ocamlc $(COMMONOPTS)
-OCAMLOPT = ocamlfind ocamlopt $(COMMONOPTS)
-OCAMLDEP = ocamlfind ocamldep $(COMMONOPTS)
-MODULES = uwobo_common uwobo_styles uwobo_logger uwobo_engine uwobo
-OBJS = $(patsubst %,%.cmo,$(MODULES))
-OBJSOPT = $(patsubst %,%.cmx,$(MODULES))
-
-all: opt
-byte: uwobo
-opt: uwobo.opt
-world: byte opt
-
-include .depend
-depend:
-       $(OCAMLDEP) *.ml *.mli > .depend
-
-%.cmi: %.mli
-       $(OCAMLC) -c $<
-%.cmo: %.ml %.cmi
-       $(OCAMLC) -c $<
-%.cmx: %.ml %.cmi
-       $(OCAMLOPT) -c $<
-uwobo.cmo: uwobo.ml
-       $(OCAMLC) -c $<
-uwobo.cmx: uwobo.ml
-       $(OCAMLOPT) -c $<
-uwobo: $(OBJS)
-       $(OCAMLC) -linkpkg -thread -o $@ $^
-uwobo.opt: $(OBJSOPT)
-       $(OCAMLOPT) -linkpkg -thread -o $@ $^
-
-clean:
-       rm -f *.cm[aiox] *.o uwobo{,.opt}
-
-.PHONY: all byte opt world depend clean
-