hbugs_client.cmi: hbugs_client.mli
$(OCAMLC) -c $<
hbugs_client.cmo: hbugs_client.ml hbugs_client.cmi
- $(OCAMLC) -c $<
+ $(OCAMLC) -thread -c $<
hbugs_client.cmx: hbugs_client.ml hbugs_client.cmi
- $(OCAMLOPT) -c $<
+ $(OCAMLOPT) -thread -c $<
$(NAME): $(DEPS) hbugs_client_gui.cmo $(NAME).cmo main.ml
$(OCAMLC) -thread -package threads -linkpkg -o $@ hbugs_client_gui.cmo $(NAME).cmo main.ml
$(NAME).opt: $(DEPSOPT) hbugs_client_gui.cmx $(NAME).cmx main.ml
hbugs_types.cmi hbugs_types.cmo: hbugs_types.ml
$(OCAMLC) -c $<
threadSafe.cmi threadSafe.cmo: threadSafe.ml
- $(OCAMLC) -package threads -c $<
+ $(OCAMLC) -thread -package threads -c $<
threadSafe.cmx: threadSafe.ml threadSafe.cmi
- $(OCAMLOPT) -package threads -c $<
+ $(OCAMLOPT) -thread -package threads -c $<
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