1 include ../Makefile.defs
3 OBJS_OPT = ../http.cmxa
4 EXAMPLES_OPTS = -I .. -linkpkg
7 always_ok_daemon webfsd obj_foo dump_args timeout dont_fork threads chdir
10 opt: $(patsubst %,%.opt,$(EXAMPLES))
12 $(OCAMLC) $(EXAMPLES_OPTS) $(OBJS) -o $@ $<
13 %.opt: %.ml $(OBJS_OPT)
14 $(OCAMLOPT) $(EXAMPLES_OPTS) $(OBJS_OPT) -o $@ $<
18 -rm -f *.cm[ioax] *.o $(EXAMPLES) $(patsubst %,%.opt,$(EXAMPLES))