summaryrefslogtreecommitdiff
path: root/OMakefile
blob: c13a2dc432c7f232ae8ee19dac9d2145139f0fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# .PHONY: all install clean

USE_OCAMLFIND = true

OCAMLPACKS[] = curl uri xmlm unix fileutils str syslog
   #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))