Fix compiling the ocaml kaleidoscope tutorials
[oota-llvm.git] / examples / OCaml-Kaleidoscope / Chapter6 / Makefile
index 831213863a6e26d31eee7b786f2ed2c1db91b570..21f0c53df4b9d5bf2cd62196ae62f86f3ed6fac0 100644 (file)
@@ -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