diff options
Diffstat (limited to 'llvm/examples/OCaml-Kaleidoscope')
| -rw-r--r-- | llvm/examples/OCaml-Kaleidoscope/Chapter6/Makefile | 9 | ||||
| -rw-r--r-- | llvm/examples/OCaml-Kaleidoscope/Chapter7/Makefile | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/llvm/examples/OCaml-Kaleidoscope/Chapter6/Makefile b/llvm/examples/OCaml-Kaleidoscope/Chapter6/Makefile index 831213863a6..21f0c53df4b 100644 --- a/llvm/examples/OCaml-Kaleidoscope/Chapter6/Makefile +++ b/llvm/examples/OCaml-Kaleidoscope/Chapter6/Makefile @@ -20,6 +20,15 @@ UsedOcamLibs := llvm llvm_analysis llvm_executionengine llvm_target \ OCAMLCFLAGS += -pp camlp4of +OcamlSources1 = \ + $(PROJ_SRC_DIR)/ast.ml \ + $(PROJ_SRC_DIR)/parser.ml \ + $(PROJ_SRC_DIR)/codegen.ml \ + $(PROJ_SRC_DIR)/lexer.ml \ + $(PROJ_SRC_DIR)/token.ml \ + $(PROJ_SRC_DIR)/toplevel.ml \ + $(PROJ_SRC_DIR)/toy.ml + ExcludeSources = $(PROJ_SRC_DIR)/myocamlbuild.ml include $(LEVEL)/bindings/ocaml/Makefile.ocaml diff --git a/llvm/examples/OCaml-Kaleidoscope/Chapter7/Makefile b/llvm/examples/OCaml-Kaleidoscope/Chapter7/Makefile index ddf667b0e12..99686e17ea8 100644 --- a/llvm/examples/OCaml-Kaleidoscope/Chapter7/Makefile +++ b/llvm/examples/OCaml-Kaleidoscope/Chapter7/Makefile @@ -20,6 +20,15 @@ UsedOcamLibs := llvm llvm_analysis llvm_executionengine llvm_target \ OCAMLCFLAGS += -pp camlp4of +OcamlSources1 = \ + $(PROJ_SRC_DIR)/ast.ml \ + $(PROJ_SRC_DIR)/parser.ml \ + $(PROJ_SRC_DIR)/codegen.ml \ + $(PROJ_SRC_DIR)/lexer.ml \ + $(PROJ_SRC_DIR)/token.ml \ + $(PROJ_SRC_DIR)/toplevel.ml \ + $(PROJ_SRC_DIR)/toy.ml + ExcludeSources = $(PROJ_SRC_DIR)/myocamlbuild.ml include $(LEVEL)/bindings/ocaml/Makefile.ocaml |

