Source

spotlib / lib / OMakefile

Full commit
OCAMLINCLUDES +=

OCAMLFLAGS    += -annot -w Ae
OCAMLCFLAGS   +=
OCAMLOPTFLAGS +=
OCAML_LINK_FLAGS +=
OCAML_BYTE_LINK_FLAGS +=
OCAML_NATIVE_LINK_FLAGS +=

OCAMLPACKS[]= unix str

# OCAMLDEPFLAGS= -syntax camlp4o -package sexplib.syntax
# OCAMLPPFLAGS= -syntax camlp4o -package sexplib.syntax

# OCamlGeneratedFiles(parser.ml lexer.ml)
OCamlGeneratedFiles(phantomy.ml phantomy.mli)

LIBFILES[] =
   base
   monad_intf
   monad
   mtypes
   option
   result
   stream
   xlist
   xhashtbl
   xstring
   xlazy
   xformat
   xfilename
   xunix
   xprintf
   xsys
   xset
   xint64
   xprintexc
   phantom
   weaktbl
   hashset
   file
   comopt
   overload
#   graph
   at
#   channel
   spot

LIB = spotlib

MyOCamlPackage($(LIB), $(LIBFILES), $(EMPTY), $(EMPTY))

PHANTOM_GEN[] =
   monad_intf
   monad
   xlist
   xlazy
   xformat
   gen_phantom

NO_INSTALL=true
MyOCamlProgram(gen_phantom, $(PHANTOM_GEN))

phantom.ml: phantom_head.ml gen_phantom.run
	./gen_phantom.run ml > $@

phantom.mli: phantom_head.mli gen_phantom.run
	./gen_phantom.run mli > $@