Skip to content

Commit

Permalink
Add a Makefile rule to make the ml file generated from the idl
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
  • Loading branch information
jonludlam committed Oct 14, 2014
1 parent 2d6ec87 commit 1e0ba19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -7,3 +7,4 @@
*.cmo
*.annot
*~
idl_test_gen.ml
4 changes: 4 additions & 0 deletions tests/Makefile
Expand Up @@ -45,5 +45,9 @@ idl_test.cmx: idl_test.ml idl_test.cmi
camlp4o $(shell ocamlfind query rpclib.syntax -r -format "-I %d %a" -predicates syntax,preprocessor) $< -printer o > $@.ml
$(OCAMLOPT) $(OCAMLFLAGS) -package $(PACKS) -c -o $@ $@.ml

idl_test_gen.ml: idl_test.ml
camlp4o $(shell ocamlfind query rpclib.idl -r -format "-I %d %a" -predicates syntax,preprocessor) $< -printer o > $@


clean:
rm -f *_gen.ml *.annot *.cmx *.cmi *.cmo *.cmxa *.o $(EXECS)

0 comments on commit 1e0ba19

Please sign in to comment.