########################################################################
# Phony targets are scoped, so you probably want to declare them first.
#
.PHONY: clean

clean:
	ocaml-clean

########################################################################
# OCaml configuration.
# Delete this section if you are not building OCaml files.
#

USE_OCAMLFIND = false

#
# Include path
#
OCAMLINCLUDES += -I +camlp4

#
# Compile native or byte code?
#
# The default values are defined as follows:
#

#
# Various options
#
# OCAMLCFLAGS   +=
# OCAMLOPTFLAGS +=
# OCAML_LINK_FLAGS +=
# OCAML_BYTE_LINK_FLAGS +=
# OCAML_NATIVE_LINK_FLAGS +=

NATIVE_ENABLED = false
BYTE_ENABLED = true

OCAMLPPFLAGS  += $`(if $(equal $<,pa_openin.ml),-pp camlp4of,-pp camlp4orf)
OCAMLDEPFLAGS += $(OCAMLPPFLAGS)

################################################
# Build an OCaml program
#
OCamlProgram(pa_oo,pa_oo)
OCamlProgram(pa_monad,pa_monad)
OCamlProgram(pa_openin,pa_openin)
