Source

olfend / 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 clean

OCAMLINCLUDES += ocaml/parsing ocaml/utils

OCAMLPACKS[] = sexplib spotlib treeprint planck

CAMLP4PACKS[] = sexplib monad-custom

OCAMLCFLAGS += -annot
OCAMLDEPFLAGS= -syntax camlp4o -package sexplib.syntax,monad-custom
OCAMLPPFLAGS=  -syntax camlp4o -package sexplib.syntax,monad-custom

FILES[] =
    token
    lex

    vmmisc
    filepath
    const
    prim
    tag
    rawname
    rawtypes
    ident
    path

    ocaml/utils/config
    ocaml/utils/clflags
    ocaml/utils/misc
    ocaml/utils/warnings
    ocaml/parsing/longident
    ocaml/parsing/linenum
    ocaml/parsing/location
    ocaml/parsing/lexer
    ocaml/parsing/syntaxerr
    ocaml/parsing/parser
    ocaml/parsing/parse

    olf
    ocamlolf

    types
    sig
    env
    ttypes
    typrim

    predef

    typed
    pattern
    interm
    opcode
    vm
    module
    main

PROGRAM = olfend

NO_INSTALL=true
MyOCamlProgram($(PROGRAM), $(FILES))

Subdirs()