]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/xml/Makefile
1) .cma/.cmxa used to simplify META files.
[helm.git] / helm / ocaml / xml / Makefile
index 90e1011e5664a3278650094a195ed826c8f06bde..f1037d90e9508a371b73bd76917f4ba679a59e15 100644 (file)
@@ -1,36 +1,9 @@
-BIN_DIR = /usr/local/bin
+PACKAGE = xml
 REQUIRES =
 PREDICATES =
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
-OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
-OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
-OCAMLDEP = ocamldep
-
-all: xml.cmo
-opt: xml.cmx
 
 DEPOBJS = xml.mli xml.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
+OBJECTS = xml.cmo
 
-include .depend
+include ../Makefile.common