From ae4a8baac5a92da5d66e58bbf27112191882f661 Mon Sep 17 00:00:00 2001 From: Thomas Gazagnaire Date: Mon, 11 Jan 2010 17:44:38 +0000 Subject: [PATCH] [rpc-light] test (un)marshalling of phatom types. 'type 'a t = string with rpc' has to work. Signed-off-by: Thomas Gazagnaire --- rpc-light/examples/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc-light/examples/Makefile b/rpc-light/examples/Makefile index f25437f..d5f372d 100644 --- a/rpc-light/examples/Makefile +++ b/rpc-light/examples/Makefile @@ -3,7 +3,7 @@ OCAMLOPT = ocamlfind ocamlopt OCAMLFLAGS = -annot -g PACKS = rpc-light -EXAMPLES = all_types +EXAMPLES = all_types phantom EXECS=$(foreach example, $(EXAMPLES), $(example).opt) @@ -18,7 +18,7 @@ all: $(EXECS) %_gen: %.ml camlp4o $(shell ocamlfind query rpc-light.syntax -r -format "-I %d %a" -predicates syntax,preprocessor) $< -printer o > $@.ml - $(OCAMLOPT) -package $(PACKS) -c -o $@ $@.ml + $(OCAMLOPT) $(OCAMLFLAGS) -package $(PACKS) -c -o $@ $@.ml clean: rm -f *.cmx *.cmi *.cmo *.cmxa *.o $(EXECS) \ No newline at end of file -- 2.39.5