Permalink
Browse files

Install cmi, cmx and mli for CIL features

  • Loading branch information...
1 parent ee33a61 commit ddb6713d83a7e22c92dc918a62b943bebf5dbf98 @kerneis kerneis committed Sep 4, 2013
Showing with 3 additions and 2 deletions.
  1. +1 −1 Makefile.in
  2. +2 −1 myocamlbuild.ml
View
2 Makefile.in
@@ -84,7 +84,7 @@ ifeq ($(OCAMLNATDYNLINK),yes)
endif
endif
-CILLIB_FILES = $(OBJDIR)/src/cil.libfiles
+CILLIB_FILES = $(OBJDIR)/src/cil.libfiles $(addsuffix .libfiles,$(CIL_PLUGINS))
CILDOC_INDEX = $(OBJDIR)/cil.docdir/index.html
CILLY_EXE_BIN = $(patsubst $(OBJDIR)/src/main.%,bin/$(CILLY).%,$(CILLY_EXE_FILES))
View
3 myocamlbuild.ml
@@ -13,7 +13,8 @@ let find_modules builder mllib =
let build_result = builder dependencies in
let built_files = List.filter_opt
(function Good file -> Some (!Options.build_dir/file) | Bad _ -> None) build_result in
- String.concat " " built_files
+ (* add a trailing space to ease concatenation of .libfiles *)
+ (String.concat " " built_files) ^ " "
;;
let cil_version =

0 comments on commit ddb6713

Please sign in to comment.