mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
01b4ccb6f7
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125202 91177308-0d34-0410-b5e6-96231b3b80d8
35 lines
1.0 KiB
Makefile
35 lines
1.0 KiB
Makefile
##===- examples/OCaml-Kaleidoscope/Chapter7/Makefile -------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open Source
|
|
# License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
#
|
|
# This is the makefile for the Objective Caml kaleidoscope tutorial, chapter 7.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
LEVEL := ../../..
|
|
TOOLNAME := OCaml-Kaleidoscope-Ch7
|
|
EXAMPLE_TOOL := 1
|
|
UsedComponents := core
|
|
UsedOcamLibs := llvm llvm_analysis llvm_executionengine llvm_target \
|
|
llvm_scalar_opts
|
|
|
|
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
|