X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_proof_checking%2FMakefile;h=0de0fcda00d2f45b7d6c6173fb421c6b3cfd8865;hb=1c7fb836e2af4f2f3d18afd0396701f2094265ff;hp=b4e5b8ae618876ef9259fc9903b3b211adcefaeb;hpb=5b2c666a48028daeba3fe6692e6ad3e14cad0a42;p=helm.git diff --git a/helm/ocaml/cic_proof_checking/Makefile b/helm/ocaml/cic_proof_checking/Makefile index b4e5b8ae6..0de0fcda0 100644 --- a/helm/ocaml/cic_proof_checking/Makefile +++ b/helm/ocaml/cic_proof_checking/Makefile @@ -2,9 +2,11 @@ PACKAGE = cic_proof_checking REQUIRES = helm-cic PREDICATES = -INTERFACE_FILES = cicSubstitution.mli logger.mli cicEnvironment.mli cicPp.mli \ - cicMiniReduction.mli cicReduction.mli cicTypeChecker.mli \ - cicCooking.mli +REDUCTION_IMPLEMENTATION = cicReductionMachine.ml + +INTERFACE_FILES = logger.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 @@ -13,5 +15,13 @@ EXTRA_OBJECTS_TO_INSTALL = \ 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 +