1 REQUIRES = http gdome2 gdome2-xslt pcre unix threads
2 COMMONOPTS = -package "$(REQUIRES)" -pp camlp4o
3 OCAMLC = ocamlfind ocamlc $(COMMONOPTS)
4 OCAMLOPT = ocamlfind ocamlopt $(COMMONOPTS)
5 OCAMLDEP = ocamlfind ocamldep $(COMMONOPTS)
6 MODULES = uwobo_common uwobo_styles uwobo_logger uwobo_engine uwobo
7 OBJS = $(patsubst %,%.cmo,$(MODULES))
8 OBJSOPT = $(patsubst %,%.cmx,$(MODULES))
17 $(OCAMLDEP) *.ml *.mli > .depend
30 $(OCAMLC) -linkpkg -thread -o $@ $^
32 $(OCAMLOPT) -linkpkg -thread -o $@ $^
35 rm -f *.cm[aiox] *.o uwobo{,.opt}
37 .PHONY: all byte opt world depend clean