X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_proof_checking%2FMakefile;h=ad31350c2dab9b629f991cbccbf5d2e0e30a1808;hb=298fa826610192b1a173c81b4ebf961c1c7e6609;hp=61ba3b55d85557d5e9851fe184a41c17338fbf34;hpb=5a92117eeff70048d29e91ba24e113155d956e1b;p=helm.git diff --git a/helm/ocaml/cic_proof_checking/Makefile b/helm/ocaml/cic_proof_checking/Makefile index 61ba3b55d..ad31350c2 100644 --- a/helm/ocaml/cic_proof_checking/Makefile +++ b/helm/ocaml/cic_proof_checking/Makefile @@ -1,41 +1,16 @@ -BIN_DIR = /usr/local/bin +PACKAGE = cic_proof_checking REQUIRES = helm-cic PREDICATES = -OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS) -OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS) -OCAMLDEP = ocamldep -all: cicSubstitution.cmo cicEnvironment.cmo cicPp.cmo cicMiniReduction.cmo \ - cicReduction.cmo cicTypeChecker.cmo cicCooking.cmo -opt: cicSubstitution.cmx cicEnvironment.cmx cicPp.cmx cicMiniReduction.cmx \ - cicReduction.cmx cicTypeChecker.cmx cicCooking.cmx +INTERFACE_FILES = cicSubstitution.mli cicEnvironment.mli cicPp.mli \ + cicMiniReduction.mli cicReduction.mli cicTypeChecker.mli \ + cicCooking.mli +IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) -DEPOBJS = cicPp.mli cicPp.ml cicEnvironment.mli cicEnvironment.ml \ - cicSubstitution.mli cicSubstitution.ml cicReduction.mli \ - cicReduction.ml cicTypeChecker.mli cicTypeChecker.ml \ - cicCooking.mli cicCooking.ml cicMinireduction.mli cicMiniReduction.ml +# Metadata tools only need zeta-reduction +EXTRA_OBJECTS_TO_INSTALL = \ + cicSubstitution.cmo cicSubstitution.cmx cicSubstitution.o \ + cicMiniReduction.cmo cicMiniReduction.cmx cicMiniReduction.o -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 - -include .depend +include ../Makefile.common