Source

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

.PHONY: all clean

PWD=$(dir .)
OCAMLINCLUDES = $(PWD) $(PWD)/parsing 
# OCAMLINCLUDES += ocaml/parsing ocaml/utils

OCAMLPACKS[] = sexplib spotlib treeprint planck

CAMLP4PACKS[] = sexplib

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

FILES[] =
    vmmisc
    filepath
    const
    prim
    tag
    rawname
    rawtypes
    ident
    path

    parsing/token
    parsing/lex
    parsing/parser

    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

    types
    sig
    env
    ttypes
    typrim

    predef

    typed
    pattern
    interm
    opcode
    vm
    module
    main

PROGRAM = olfend

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

Subdirs()