]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/searchEngine/Makefile
ocaml 3.09 transition
[helm.git] / helm / searchEngine / Makefile
index b0836f5b06a147f98e2d70a91f0f681d6f026323..2ae59df911656519f35efb5d880ec56672a44c1b 100644 (file)
@@ -1,4 +1,4 @@
-REQUIRES = http dbi.mysql helm-cic_textual_parser2 helm-logger helm-tactics
+REQUIRES = http helm-cic_textual_parser2 helm-logger helm-tactics
 OCAMLOPTIONS = -thread -package "$(REQUIRES)" -pp camlp4o
 OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
 OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
@@ -10,10 +10,14 @@ SRCS = $(patsubst %,%.ml,$(MODULES)) $(patsubst %,%.mli,$(MODULES)) \
 CMOS = $(patsubst %,%.cmo,$(MODULES))
 CMXS = $(patsubst %,%.cmx,$(MODULES))
 
-all: byte
+all: byte html
 world: byte opt
 byte: searchEngine
-opt: searchEngine.opt
+opt: searchEngine.opt html
+
+.PHONY: html
+html:
+       make -C html/
 
 %.cmi: %.mli
        $(OCAMLC) -c $<
@@ -28,6 +32,7 @@ searchEngine.opt: $(CMXS) searchEngine.ml
        $(OCAMLOPT) -linkpkg -o $@ $^
 
 clean:
+       make -C html/ clean
        rm -f *.cm[aiox] *.o searchEngine{,.opt}
 
 .PHONY: depend