~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to examples/OCaml-Kaleidoscope/Chapter6/Makefile

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
##===- examples/OCaml-Kaleidoscope/Chapter6/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 6.
 
11
 
12
##===----------------------------------------------------------------------===##
 
13
 
 
14
LEVEL := ../../..
 
15
TOOLNAME := OCaml-Kaleidoscope-Ch6
 
16
EXAMPLE_TOOL := 1
 
17
UsedComponents := core
 
18
UsedOcamLibs := llvm llvm_analysis llvm_executionengine llvm_target \
 
19
        llvm_scalar_opts
 
20
 
 
21
OCAMLCFLAGS += -pp camlp4of
 
22
 
 
23
OcamlSources1 = \
 
24
        $(PROJ_SRC_DIR)/ast.ml \
 
25
        $(PROJ_SRC_DIR)/parser.ml \
 
26
        $(PROJ_SRC_DIR)/codegen.ml \
 
27
        $(PROJ_SRC_DIR)/lexer.ml \
 
28
        $(PROJ_SRC_DIR)/token.ml \
 
29
        $(PROJ_SRC_DIR)/toplevel.ml \
 
30
        $(PROJ_SRC_DIR)/toy.ml
 
31
 
 
32
ExcludeSources = $(PROJ_SRC_DIR)/myocamlbuild.ml
 
33
 
 
34
include $(LEVEL)/bindings/ocaml/Makefile.ocaml