forked from yoshihiro503/ocamltter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OMakefile
34 lines (27 loc) · 813 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
# How-to-build using OMake
#
# cp OMakeroot.in OMakeroot # to create OMakeroot for the first time
# If OMakeroot is here, include OMyMakefile
if $(file-exists OMakeroot)
include OMyMakefile
export
OCAMLFLAGS = -thread
#######################################################
OCAMLPACKS[] = cryptokit str spotlib tiny_json_conv ocaml_conv curl
CAMLP4PACKS[] = meta_conv
OCAMLDEPFLAGS= -syntax camlp4o -package meta_conv.syntax
OCAMLPPFLAGS = -syntax camlp4o -package meta_conv.syntax
# SUB_INSTALL=$(dir _install)
#
# $(SUB_INSTALL):
# /bin/rm -rf $@
# mkdir $@
#
# install: $(SUB_INSTALL) META
# cp META $(SUB_INSTALL)
# $(OCAMLFIND) remove ocamltter
# $(OCAMLFIND) install ocamltter $(SUB_INSTALL)/META $(SUB_INSTALL)/*/*
#
# clean:
# /bin/rm -rf $(SUB_INSTALL)
Subdirs()