Source

ocaml-bitbucket / OMakefile

Full commit
camlspotter ab68943 












camlspotter 4fafae1 
camlspotter fdf4f75 
camlspotter ab68943 

camlspotter 809883c 
camlspotter 587ac17 

camlspotter ab68943 






camlspotter deddfc7 
camlspotter f3f4da3 

camlspotter 710bd90 
# 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
    ocaml_conv
    spotlib

OCAMLFLAGS = -annot -w A-4-9-39 
OCAMLDEPFLAGS= -syntax camlp4o -package meta_conv.syntax
OCAMLPPFLAGS=  -syntax camlp4o -package meta_conv.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_meta_conv.cma -printer Camlp4OCamlPrinter -o api.p4.ml api.ml