X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fhbugs%2Ftutors%2FMakefile;h=9e84bf4e671bae3c96dd05705b5aaf1d7ee690e2;hb=1fb8d0192e1f7ee891c53dc282c9c9f111e63e3c;hp=a585b0c38b30f186f635dda58ff0a7b4ab3e8d58;hpb=cab4eba3c7da115ecc1973d989b321b46835e1eb;p=helm.git diff --git a/helm/hbugs/tutors/Makefile b/helm/hbugs/tutors/Makefile index a585b0c38..9e84bf4e6 100644 --- a/helm/hbugs/tutors/Makefile +++ b/helm/hbugs/tutors/Makefile @@ -4,8 +4,9 @@ REQUIRES = threads hbugs-common helm-cic_proof_checking helm-getter \ helm-mathql helm-mathql_interpreter helm-tactics COMMONOPTS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" OCAMLFIND = ocamlfind -OCAMLC = $(OCAMLFIND) ocamlc $(COMMONOPTS) -OCAMLOPT = $(OCAMLFIND) opt $(COMMONOPTS) +OCAMLC = $(OCAMLFIND) ocamlc -thread $(COMMONOPTS) +OCAMLOPT = $(OCAMLFIND) opt -thread $(COMMONOPTS) +OCAMLDEP = $(OCAMLFIND) ocamldep -package "$(REQUIRES)" LINK_OPTIONS = -thread -package threads -linkpkg TUTORS_TEMPLATE = hbugs_tutor.TPL.ml TUTORS_INDEX = INDEX.xml @@ -26,8 +27,8 @@ DEPSOPT = $(shell $(OCAMLFIND) query -recursive -predicates native -format "%d/% all: byte world: byte opt -byte: $(TUTORS) -opt: $(TUTORS_OPT) +byte: $(COMMON) $(TUTORS) +opt: $(COMMON_OPT) $(TUTORS_OPT) start: $(CTL) start stop: @@ -52,4 +53,5 @@ clean: distclean: clean rm -f run/* .PHONY: all world byte opt clean start stop +.PRECIOUS: %.cmi