]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/pxp/Makefile
HELM OCaml libraries with findlib support.
[helm.git] / helm / ocaml / pxp / Makefile
diff --git a/helm/ocaml/pxp/Makefile b/helm/ocaml/pxp/Makefile
new file mode 100644 (file)
index 0000000..09b7e61
--- /dev/null
@@ -0,0 +1,36 @@
+BIN_DIR = /usr/local/bin
+REQUIRES = helm-getter
+PREDICATES =
+OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
+OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
+OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
+OCAMLDEP = ocamldep
+
+all: csc_pxp_reader.cmo pxpUriResolver.cmo
+opt: csc_pxp_reader.cmx pxpUriResolver.cmx
+
+DEPOBJS = csc_pxp_reader.ml pxpUriResolver.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