summaryrefslogtreecommitdiffstats
path: root/llvm/examples/OCaml-Kaleidoscope/Chapter6
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2011-02-09 18:32:02 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2011-02-09 18:32:02 +0000
commit201b7d75b33bd0f00c9336fe03b6dbfa314c7998 (patch)
tree5620428537fda59e3636a653701fb720829ca2bd /llvm/examples/OCaml-Kaleidoscope/Chapter6
parent0bb0331d9546951377d0e6d647117e1800fc6c7e (diff)
downloadbcm5719-llvm-201b7d75b33bd0f00c9336fe03b6dbfa314c7998.tar.gz
bcm5719-llvm-201b7d75b33bd0f00c9336fe03b6dbfa314c7998.zip
Fix compiling the ocaml kaleidoscope tutorials
llvm-svn: 125202
Diffstat (limited to 'llvm/examples/OCaml-Kaleidoscope/Chapter6')
-rw-r--r--llvm/examples/OCaml-Kaleidoscope/Chapter6/Makefile9
1 files changed, 9 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
OpenPOWER on IntegriCloud