X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fpxp%2FMakefile;fp=helm%2Focaml%2Fpxp%2FMakefile;h=2a89a95f0296b32846d94cc22cc75cc3408c80dd;hb=e97039cc9e0a8e4f992c712a1ccf47c801e1abcc;hp=09b7e613e15673fc78b546e80dfe43057cf58c49;hpb=d4dd07ecc4191d9dac83b5d4d23dfc61c4492d77;p=helm.git diff --git a/helm/ocaml/pxp/Makefile b/helm/ocaml/pxp/Makefile index 09b7e613e..2a89a95f0 100644 --- a/helm/ocaml/pxp/Makefile +++ b/helm/ocaml/pxp/Makefile @@ -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