X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2FMakefile.common;h=7a4727c769b0b1f4ae0dc0ebdd53e21f06a25030;hb=e8164f9de889435794efac0fa83fc7b9b766428f;hp=5090dcc78309151231efaa2eee9f923fec0c2c3e;hpb=683978a2627cf1ce15673360f26806593d22f7b5;p=helm.git diff --git a/helm/software/components/Makefile.common b/helm/software/components/Makefile.common index 5090dcc78..7a4727c76 100644 --- a/helm/software/components/Makefile.common +++ b/helm/software/components/Makefile.common @@ -11,10 +11,16 @@ H=@ # $OCAMLFIND must be set to a meaningful vaule, including OCAMLPATH= +ifeq ($(ANNOT),true) + ANNOTOPTION = -dtypes +else + ANNOTOPTION = +endif + PREPROCOPTIONS = -pp camlp5o SYNTAXOPTIONS = -syntax camlp5o PREREQ = -OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -thread -rectypes +OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -thread -rectypes $(ANNOTOPTION) OCAMLDEBUGOPTIONS = -g #OCAML_PROF=p -p a OCAMLARCHIVEOPTIONS =