]> matita.cs.unibo.it Git - helm.git/blob - helm/DEVEL/ocaml-http/examples/Makefile
added ocaml-http 0.0.1
[helm.git] / helm / DEVEL / ocaml-http / examples / Makefile
1 include ../Makefile.defs
2 OBJS = ../http.cmo
3 OBJS_OPT = ../http.cmx
4 EXAMPLES_OPTS = -I .. -linkpkg
5
6 EXAMPLES = always_ok_daemon webfsd obj_foo dump_args timeout
7
8 all: $(EXAMPLES)
9 opt: $(patsubst %,%.opt,$(EXAMPLES))
10 %: %.ml $(OBJS)
11         $(OCAMLC) $(EXAMPLES_OPTS) $(OBJS) -o $@ $<
12 %.opt: %.ml $(OBJS_OPT)
13         $(OCAMLOPT) $(EXAMPLES_OPTS) $(OBJS_OPT) -o $@ $<
14
15 distclean: clean
16 clean:
17         -rm -f *.cm[ioax] *.o $(EXAMPLES)