diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2014-05-16 20:32:17 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2014-05-16 20:32:17 +0200 |
commit | 94aa3d0f8c4c480ad67045f12d33b0f7813868e6 (patch) | |
tree | aca2510cac066d9947809e4a7b13efa7a77772eb /OMakefile | |
download | context-mirror-bot-94aa3d0f8c4c480ad67045f12d33b0f7813868e6.tar.gz |
initial
Diffstat (limited to 'OMakefile')
-rw-r--r-- | OMakefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/OMakefile b/OMakefile new file mode 100644 index 0000000..602ea95 --- /dev/null +++ b/OMakefile @@ -0,0 +1,59 @@ +# .PHONY: all install clean + +USE_OCAMLFIND = true + +OCAMLPACKS[] = curl uri xmlm unix fileutils str + #core + #async + #uri + +# +# if $(not $(OCAMLFIND_EXISTS)) +# eprintln(This project requires ocamlfind, but is was not found.) +# eprintln(You need to install ocamlfind and run "omake --configure".) +# exit 1 + +# +# Include path +# +# OCAMLINCLUDES += + +# +# Compile native or byte code? +# +# The default values are defined as follows: +# +NATIVE_ENABLED = false +BYTE_ENABLED = true + +# +# Various options + +#OCAMLFLAGS += +OCAMLCFLAGS += -g -thread +OCAMLOPTFLAGS += -g -thread + +# OCAML_LINK_FLAGS += +# OCAML_BYTE_LINK_FLAGS += +# OCAML_NATIVE_LINK_FLAGS += + +################################################ +# Generated files +# +# Workaround for the fact that ocamldep does not pay attention to .mll +# and .mly files. +# +# OCamlGeneratedFiles(parser.ml lexer.ml) + +FILES[] = + context_mirror_bot + +PROGRAM = context_mirror_bot +#OCAML_LIBS += core async + +#OCAML_CLIBS += +#OCAML_OTHER_LIBS += +#OCAML_LIB_FLAGS += + +.DEFAULT: $(OCamlProgram $(PROGRAM), $(FILES)) + |