Add OCaml tutorial to the examples.
[oota-llvm.git] / examples / OCaml-Kaleidoscope / Chapter3 / Makefile
1 ##===- examples/OCaml-Kaleidoscope/Chapter3/Makefile -------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9
10 # This is the makefile for the Objective Caml kaleidoscope tutorial, chapter 3.
11
12 ##===----------------------------------------------------------------------===##
13
14 LEVEL := ../../..
15 TOOLNAME := OCaml-Kaleidoscope-Ch3
16 EXAMPLE_TOOL := 1
17 UsedComponents := core
18 UsedOcamLibs := llvm llvm_analysis
19
20 OCAMLCFLAGS += -pp camlp4of
21
22 ExcludeSources = $(PROJ_SRC_DIR)/myocamlbuild.ml
23
24 include $(LEVEL)/bindings/ocaml/Makefile.ocaml