X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_proof_checking%2FMakefile;h=96ac166b53257376f169d621e776ddef235da4f0;hb=970ba0021a992efe25ec374875dc127ff236cc74;hp=591446ccd548b33a098d9a3dba2c7034c856571f;hpb=0054d117ebed7924a96bcaadc9bcbbef9d372938;p=helm.git diff --git a/helm/ocaml/cic_proof_checking/Makefile b/helm/ocaml/cic_proof_checking/Makefile index 591446ccd..96ac166b5 100644 --- a/helm/ocaml/cic_proof_checking/Makefile +++ b/helm/ocaml/cic_proof_checking/Makefile @@ -2,15 +2,27 @@ PACKAGE = cic_proof_checking REQUIRES = helm-cic PREDICATES = -INTERFACE_FILES = cicSubstitution.mli cicEnvironment.mli cicPp.mli \ - cicMiniReduction.mli cicReductionNaif.mli cicReduction.mli cicReductionMachine.mli cicTypeChecker.mli \ - cicCooking.mli +REDUCTION_IMPLEMENTATION = cicReductionMachine.ml + +INTERFACE_FILES = \ + cicLogger.mli cicEnvironment.mli cicPp.mli cicSubstitution.mli \ + cicMiniReduction.mli cicReductionNaif.mli cicReduction.mli \ + cicTypeChecker.mli IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) # Metadata tools only need zeta-reduction EXTRA_OBJECTS_TO_INSTALL = \ cicSubstitution.cmo cicSubstitution.cmx cicSubstitution.o \ cicMiniReduction.cmo cicMiniReduction.cmx cicMiniReduction.o - +EXTRA_OBJECTS_TO_CLEAN = include ../Makefile.common + +cicReduction.ml: $(REDUCTION_IMPLEMENTATION) + if ! [ -f $@ ]; then \ + echo "Using $< for $@"; \ + ln -s $< $@; \ + else \ + true; \ + fi +