Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.68 kb
# see: http://www.ocaml.info/home/ocaml_sources.html#toc16
# put here the names of your source files (in the right order)
SOURCES = dsl.mli dsl.ml compiler.mli compiler.ml main.ml
CLIBS = llvm LLVMCore LLVMSupport
LIBS = llvm llvm_analysis llvm_executionengine llvm_target llvm_scalar_opts unix
# the name of the resulting executable
RESULT = main
# generate type information (.annot files)
ANNOTATE = yes
# LLVM depends on lots of gunk from C++
OCAMLOPT = ocamlopt -cc g++ -I /usr/local/lib/ocaml -I /usr/local/lib/ocaml
OCAMLC = ocamlc -I /usr/local/lib/ocaml
# make target (see manual) : byte-code, debug-code, native-code, ...
all: native-code
include OCamlMakefile
Jump to Line
Something went wrong with that request. Please try again.