Source

spotinstall / 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 install clean

OCAMLPACKAGEFLAGS=

# BYTE_ENABLED= true

OCAMLINCLUDES += 

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

CAMLP4PACKS[]=
    orakuda

OCAMLPACKS[]= 
    spotlib
    orakuda

FILES[] = 
   spotinstall

OCAMLDEPFLAGS= -syntax camlp4o -package orakuda.syntax
OCAMLPPFLAGS = -syntax camlp4o -package orakuda.syntax

MyOCamlProgram(spotinstall, $(FILES))

.PHONY: install
install: spotinstall.opt
	install spotinstall.opt $(PREFIX)/bin/spotinstall