]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_annotations/Makefile
1) .cma/.cmxa used to simplify META files.
[helm.git] / helm / ocaml / cic_annotations / Makefile
index 776d6c459632d26e56d70aa6b62a87062806ee00..738a265ecb1dd4ff5350a0e1eabed7ac11bbab3a 100644 (file)
@@ -1,39 +1,11 @@
-BIN_DIR = /usr/local/bin
+PACKAGE = cic_annotations
 REQUIRES = helm-cic helm-xml lablgtk
 PREDICATES =
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
-OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
-OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
-OCAMLDEP = ocamldep
-
-all: cicAnnotation2Xml.cmo cicAnnotationHinter.cmo cicAnnotationParser2.cmo \
-     cicAnnotationParser.cmo cicXPath.cmo
-opt: cicAnnotation2Xml.cmx cicAnnotationHinter.cmx cicAnnotationParser2.cmx \
-     cicAnnotationParser.cmx cicXPath.cmx
 
 DEPOBJS = cicAnnotation2Xml.ml cicAnnotationHinter.ml cicAnnotationParser2.ml \
           cicAnnotationParser.ml cicXPath.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 = cicAnnotation2Xml.cmo cicAnnotationHinter.cmo \
+          cicAnnotationParser2.cmo cicAnnotationParser.cmo cicXPath.cmo
 
-include .depend
+include ../Makefile.common