]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic/Makefile
1) .cma/.cmxa used to simplify META files.
[helm.git] / helm / ocaml / cic / Makefile
index 36e718dc67d348de7d293e998cad89173aeb54bb..fd810f3f70ab374c47a0144b6ec2a19f631e73aa 100644 (file)
@@ -1,37 +1,10 @@
-BIN_DIR = /usr/local/bin
+PACKAGE = cic
 REQUIRES = helm-urimanager helm-pxp
 PREDICATES =
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
-OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
-OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
-OCAMLDEP = ocamldep
-
-all: cic.cmo deannotate.cmo cicParser3.cmo cicParser2.cmo cicParser.cmo
-opt: cic.cmx deannotate.cmx cicParser3.cmx cicParser2.cmx cicParser.cmx
 
 DEPOBJS = cic.ml deannotate.mli deannotate.ml cicParser3.mli cicParser3.ml \
           cicParser2.mli cicParser2.ml cicParser.mli cicParser.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 = cic.cmo deannotate.cmo cicParser3.cmo cicParser2.cmo cicParser.cmo
 
-include .depend
+include ../Makefile.common