diff options
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)) + |