-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOMakefile
47 lines (39 loc) · 827 Bytes
/
OMakefile
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
.PHONY: all install clean
# This project requires ocamlfind (default - false).
USE_OCAMLFIND = true
OCAMLPACKS[] =
oUnit
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
# OCAMLINCLUDES +=
NATIVE_ENABLED = $(OCAMLOPT_EXISTS)
BYTE_ENABLED = $(not $(OCAMLOPT_EXISTS))
#
# Various options
#
# OCAMLFLAGS +=
# OCAMLCFLAGS +=
# OCAMLOPTFLAGS +=
# OCAML_LINK_FLAGS +=
# OCAML_BYTE_LINK_FLAGS +=
# OCAML_NATIVE_LINK_FLAGS +=
OCamlGeneratedFiles(parser.ml lexer.ml)
FILES[] =
misc
option
optionList
env
syntax
parser
lexer
eval
typing
main
PROGRAM = sysf
# OCAML_LIBS +=
# OCAML_CLIBS +=
# OCAML_OTHER_LIBS +=
# OCAML_LIB_FLAGS +=
.DEFAULT: $(OCamlProgram $(PROGRAM), $(FILES))