Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (15 sloc) 680 Bytes
# see:
# put here the names of your source files (in the right order)
SOURCES = dsl.mli compiler.mli
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)
# 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