ocaml-meka/README.md

40 lines
877 B
Markdown

ocaml-meka
==========
A handy Makefile for OCaml projects
Usage example :
# list of created binaries
PROGRAMS=dow
# program-specific list of objects
dow_OBJS= \
GuiHttp \
Storage \
StorageFile \
StorageSqlite3 \
WikiHandler \
WikiHandlerEdit \
WikiHandlerView \
WikiEngine \
HttpTypes \
HttpRequest \
HttpAnswer \
HttpHandler \
Http \
Document \
Main
# program-specific includes
dow_INCS=-I +lablgtk2
# program-specific libraries
dow_LIBS=unix threads lablgtk
# global options (used for everything in PROGRAMS)
OPTS=-w A -warn-error A -g -thread
# The most important line ;-)
include OCaml.mk