]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/urimanager/Makefile
HELM OCaml libraries with findlib support.
[helm.git] / helm / ocaml / urimanager / Makefile
diff --git a/helm/ocaml/urimanager/Makefile b/helm/ocaml/urimanager/Makefile
new file mode 100644 (file)
index 0000000..b935779
--- /dev/null
@@ -0,0 +1,36 @@
+BIN_DIR = /usr/local/bin
+REQUIRES = str
+PREDICATES =
+OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
+OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
+OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
+OCAMLDEP = ocamldep
+
+all: uriManager.cmo
+opt: uriManager.cmx
+
+DEPOBJS = uriManager.mli uriManager.ml
+
+depend:
+       $(OCAMLDEP) $(DEPOBJS) > .depend
+
+.SUFFIXES: .ml .mli .cmo .cmi .cmx
+.ml.cmo:
+       $(OCAMLC) -c $<
+.mli.cmi:
+       $(OCAMLC) -c $<
+.ml.cmx:
+       $(OCAMLOPT) -c $<
+
+clean:
+       rm -f *.cm[iox]
+
+install:
+       #cp
+
+uninstall:
+       #rm -f
+
+.PHONY: install uninstall clean
+
+include .depend