]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/pxp/Makefile
1) .cma/.cmxa used to simplify META files.
[helm.git] / helm / ocaml / pxp / Makefile
index 09b7e613e15673fc78b546e80dfe43057cf58c49..2a89a95f0296b32846d94cc22cc75cc3408c80dd 100644 (file)
@@ -1,36 +1,9 @@
-BIN_DIR = /usr/local/bin
+PACKAGE = pxp
 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
+OBJECTS = csc_pxp_reader.cmo pxpUriResolver.cmo
 
-include .depend
+include ../Makefile.common