]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/binaries/transcript/Makefile
Trick: the refiner always subst-expands the outtype, so that the beta-redex
[helm.git] / helm / software / components / binaries / transcript / Makefile
index 7d6cd364ff4cc98628cf5379abd117f008fdafb4..9ac3969b646f03733ef7a1e9a53b1f6c1b033d3f 100644 (file)
@@ -4,7 +4,7 @@ H=@
 
 REQUIRES = unix str helm-grafite_parser
 
-MLS = types.ml v8Parser.ml v8Lexer.ml grafite.ml engine.ml top.ml
+MLS = types.ml options.ml v8Parser.ml v8Lexer.ml grafite.ml engine.ml top.ml
 MLIS = v8Parser.mli grafite.mli engine.mli
 CLEAN = v8Parser.ml v8Parser.mli v8Lexer.ml
 
@@ -18,8 +18,8 @@ CMXS = $(MLS:%.ml=%.cmx)
 CMIS = $(MLIS:%.mli=%.cmi)
 EXTRAS =
 
-OCAMLC = $(OCAMLFIND) ocamlc -thread -package "$(REQUIRES)" -linkpkg
-OCAMLOPT = $(OCAMLFIND) ocamlopt -thread -package "$(REQUIRES)" -linkpkg
+OCAMLC = $(OCAMLFIND) ocamlc -thread -package "$(REQUIRES)" -linkpkg -rectypes
+OCAMLOPT = $(OCAMLFIND) ocamlopt -thread -package "$(REQUIRES)" -linkpkg -rectypes
 OCAMLDEP = $(OCAMLFIND) ocamldep
 OCAMLYACC = ocamlyacc
 OCAMLLEX = ocamllex
@@ -73,7 +73,7 @@ depend.opt: .depend.opt
 %.cmo %.cmi: %.ml $(EXTRAS) $(LIBRARIES)
        @echo "  OCAMLC $<"
        $(H)$(OCAMLC) -c $<
-%.cmx: %.ml $(EXTRAS) $(LIBRARIES_OPT)
+%.o %.cmx %.cmi: %.ml $(EXTRAS) $(LIBRARIES_OPT)
        @echo "  OCAMLOPT $<"
        $(H)$(OCAMLOPT) -c $<
 %.ml %.mli: %.mly $(EXTRAS) 
@@ -83,8 +83,6 @@ depend.opt: .depend.opt
        @echo "  OCAMLLEX $<"
        $(H)$(OCAMLLEX) $<
 
-include ../../../Makefile.defs
-
 ifeq ($(MAKECMDGOALS),)
   include .depend   
 endif