Source

ocaml-bitbucket / OMakefile

camlspotter ab68943 












camlspotter 4fafae1 
camlspotter d0b5325 
camlspotter ab68943 

camlspotter 809883c 
camlspotter d0b5325 

camlspotter ab68943 






camlspotter deddfc7 
camlspotter f3f4da3 

camlspotter 2c28ebd 
# How-to-build using OMake
#
# yes no | omake --install # to create OMakeroot for the first time

# If OMakeroot is here, include OMyMakefile
if $(file-exists OMakeroot)
   include OMyMakefile
   export

.PHONY: all install clean

OCAMLPACKS[] =
    curl
    tiny_json_conv
    sexplib
    spotlib

OCAMLFLAGS = -annot -w A-4-9-39 
OCAMLDEPFLAGS= -syntax camlp4o -package meta_conv.syntax,sexplib.syntax
OCAMLPPFLAGS=  -syntax camlp4o -package meta_conv.syntax,sexplib.syntax

FILES[] =
    xcurl
    common
    api
    hg

MyOCamlPackage(bitbucket, $(FILES), $(EMPTY), $(EMPTY))

api.p4.ml: api.ml
    camlp4o dynlink.cma -I $(HOME)/.opam/system/lib/type_conv pa_type_conv.cma -I $(HOME)/.opam/system/lib/meta_conv pa_json_tc.cmo -printer Camlp4OCamlPrinter -o api.p4.ml api.ml