X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_proof_checking%2FMakefile;h=0259effd12d2a9239c6d3d69fe1657902c5bb863;hb=edeecdcf2cb51318a7d4c608652f4f988e80f66f;hp=95ce4ad15a4268b92830271a9c5c4d724d9d13d3;hpb=08a2b1a3f1a1e9af07850089f0e0838eb052223d;p=helm.git diff --git a/helm/ocaml/cic_proof_checking/Makefile b/helm/ocaml/cic_proof_checking/Makefile index 95ce4ad15..0259effd1 100644 --- a/helm/ocaml/cic_proof_checking/Makefile +++ b/helm/ocaml/cic_proof_checking/Makefile @@ -2,6 +2,8 @@ PACKAGE = cic_proof_checking REQUIRES = helm-cic PREDICATES = +REDUCTION_IMPLEMENTATION = cicReductionMachine.ml + INTERFACE_FILES = logger.mli cicEnvironment.mli cicPp.mli cicSubstitution.mli \ cicMiniReduction.mli cicReductionNaif.mli cicReduction.mli \ cicTypeChecker.mli @@ -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 +