Source

ocaml_epoll / OMakefile

Full commit
# 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

Subdirs()

.PHONY: all install clean

OCAMLINCLUDES +=

OCAMLFLAGS    += -annot -w Ae

CFLAGS+= -fPIC -I $(OCAML_WHERE)

OCAMLPACKS[]= unix

MODULES[] =
    epoll

CMODULES[] =
    ocaml_epoll_stub

MyOCamlPackage(ocaml_epoll, $(MODULES), $(CMODULES), $(EMPTY))

OCAMLCFLAGS   +=
OCAMLOPTFLAGS +=
OCAML_LINK_FLAGS +=
OCAML_BYTE_LINK_FLAGS +=
OCAML_NATIVE_LINK_FLAGS +=

OCAML_LIBS += ocaml_epoll
OCAML_CLIBS +=
OCAML_OTHER_LIBS +=
OCAML_LIB_FLAGS +=

MyOCamlProgram(test, test)