-
Notifications
You must be signed in to change notification settings - Fork 14
/
OMakefile
41 lines (29 loc) · 1.12 KB
/
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
# Include path for the caml headers <caml/mlvalues.h> and friends.
# You might need something this if you have installed OCaml manually or via
# something like macports:
#INCLUDES += /opt/local/lib/ocaml
# Uncomment one of the following if you want support for extended attributes,
# depending on your OS:
#CFLAGS = -DHAVE_OSX_XATTR
#CFLAGS = -DHAVE_LINUX_XATTR
# This might be needed if you are using -DHAVE_LINUX_XATTR and are using an
# older version of glibc, to link against libattr1.
#OCAMLFLAGS += -cclib -lattr
# Use the fileutils library for a recursive mkdir
USE_OCAMLFIND = TRUE
OCAMLPACKS[] =
fileutils
unix
# === No change should be needed after this line. ===
OCAMLFLAGS += -dtypes
OCAMLOPTFLAGS += -inline 10 -S
StaticCLibrary(ometastore_stub, ometastore_stub)
OCAML_CLIBS += ometastore_stub
OCAML_OTHER_LIBS += str
OCamlProgram(ometastore, folddir util ometastore)
OCamlProgram(find-git-repos, folddir util find-git-repos)
OCamlProgram(find-git-files, folddir util find-git-files)
.DEFAULT: ometastore find-git-files find-git-repos
.PHONY: clean
clean:
rm -f $(filter-proper-targets $(ls R, .)) *.s *.annot