Source

ocaml-bitbucket / OMakefile

# 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
    json-wheel
    json-tc
    spotlib

OCAMLCFLAGS += -annot -w Ae 
OCAMLDEPFLAGS= -syntax camlp4o -package json-tc.syntax
OCAMLPPFLAGS= -syntax camlp4o -package json-tc.syntax

FILES[] =
    xcurl
    common
    api
    hg

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