-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)
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 $<
$(OCAMLOPT) -linkpkg -o $@ $^
clean:
+ make -C html/ clean
rm -f *.cm[aiox] *.o searchEngine{,.opt}
.PHONY: depend