Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (15 sloc) 680 Bytes
# 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